C# Class Deveel.Data.Security.Grant

The entity that holds the access control granted to an user or a group to a specific object in a database.
Exibir arquivo Open project: deveel/deveeldb Class Usage Examples

Public Methods

Method Description
Grant ( Privileges privileges, ObjectName objectName, DbObjectType objectType, string grantee, string granterName ) : System

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 grantee, string granterName, bool withOption ) : System

Constructs a new grant for an user on the given object, including the privileges of the grant.

Method Details

Grant() public method

Constructs a new grant for an user on the given object, including the privileges of the grant.
public Grant ( Privileges privileges, ObjectName objectName, DbObjectType objectType, string grantee, string granterName ) : System
privileges Privileges The access privileges granted to the user on the /// given object.
objectName ObjectName The fully qualified name of the object on which /// to grant the given access privileges to the user.
objectType DbObjectType The type of the object.
grantee string The name of the grantee (user or role).
granterName string The name of the user that granted.
return System

Grant() public method

Constructs a new grant for an user on the given object, including the privileges of the grant.
public Grant ( Privileges privileges, ObjectName objectName, DbObjectType objectType, string grantee, string granterName, bool withOption ) : System
privileges Privileges The access privileges granted to the user on the /// given object.
objectName ObjectName The fully qualified name of the object on which /// to grant the given access privileges to the user.
objectType DbObjectType The type of the object.
grantee string The name of the grantee (user or role).
granterName string The name of the user that granted.
withOption bool
return System