DeveelDB
20151217
complete SQL database system, primarly developed for .NET/Mono frameworks
|
The entity that holds the access control granted to an user or a group to a specific object in a database. More...
Public Member Functions | |
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. More... | |
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. More... | |
Properties | |
string | GranterName [get, private set] |
Gets the name of the user that provided this grant. More... | |
bool | WithOption [get, private set] |
Gets a value indicating whether the grants include an option to grant to other users. More... | |
ObjectName | ObjectName [get, private set] |
Gets the fully qualified name of the object on which this grant provides access privileges to the user. More... | |
DbObjectType | ObjectType [get, private set] |
Gets the type of the object on which to provide access privileges to the user. More... | |
Privileges | Privileges [get, private set] |
Gets the access privileges granted to the user. More... | |
The entity that holds the access control granted to an user or a group to a specific object in a database.
|
inline |
Constructs a new grant for an user on the given object, including the privileges of the grant.
privileges | The access privileges granted to the user on the given object. |
objectName | The fully qualified name of the object on which to grant the given access privileges to the user. |
objectType | The type of the object. |
granterName | The name of the user that granted. |
|
inline |
Constructs a new grant for an user on the given object, including the privileges of the grant.
privileges | The access privileges granted to the user on the given object. |
objectName | The fully qualified name of the object on which to grant the given access privileges to the user. |
objectType | The type of the object. |
granterName | The name of the user that granted. |
withOption |
Definition at line 52 of file Grant.cs.
|
getprivate set |
|
getprivate set |
Gets the fully qualified name of the object on which this grant provides access privileges to the user.
The name of the object respects the wildcard rule
, that means if the object own name is a wild-card (*
), this grant will provide access to all objects in the containing schema for the type given.
|
getprivate set |
|
getprivate set |
|
getprivate set |