C# Класс 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.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Описание методов

Grant() публичный Метод

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.
Результат System

Grant() публичный Метод

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
Результат System