Поделиться через


Свойство PermissionInfo.Grantee

Gets the name of the database user, logon, or database role who has been granted or denied access to the object.

Пространство имен:  Microsoft.SqlServer.Management.Smo
Сборка:  Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)

Синтаксис

'Декларация
Public ReadOnly Property Grantee As String 
    Get
'Применение
Dim instance As PermissionInfo 
Dim value As String 

value = instance.Grantee
public string Grantee { get; }
public:
property String^ Grantee {
    String^ get ();
}
member Grantee : string
function get Grantee () : String

Значение свойства

Тип: System.String
A String value that specifies the name of the grantee.

Замечания

This property is empty when column permissions are not enumerated.

Примеры

Предоставление, отмена и запрет разрешений

См. также

Справочник

PermissionInfo Класс

Пространство имен Microsoft.SqlServer.Management.Smo

Другие ресурсы

Разрешения (компонент Database Engine)

sys.syspermissions (Transact-SQL)