21 namespace Deveel.Data.Security {
38 : this(privileges, objectName, objectType, granterName, false) {
53 if (String.IsNullOrEmpty(granterName))
54 throw new ArgumentNullException(
"granterName");
55 if (objectName == null)
56 throw new ArgumentNullException(
"objectName");
60 ObjectType = objectType;
61 GranterName = granterName;
62 WithOption = withOption;
68 public string GranterName {
get;
private set; }
77 public bool WithOption {
get;
private set; }
Describes the name of an object within a database.
Grant(Privileges privileges, ObjectName objectName, DbObjectType objectType, string granterName, bool withOption)
Constructs a new grant for an user on the given object, including the privileges of the grant...
Grant(Privileges privileges, ObjectName objectName, DbObjectType objectType, string granterName)
Constructs a new grant for an user on the given object, including the privileges of the grant...
DbObjectType
The kind of objects that can be handled by a database system and its managers
The entity that holds the access control granted to an user or a group to a specific object in a data...