Freigeben über


PermissionInfo.Grantee-Eigenschaft

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

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public ReadOnly Property Grantee As String 
    Get
'Usage
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

Eigenschaftswert

Typ: System.String
A String value that specifies the name of the grantee.

Hinweise

This property is empty when column permissions are not enumerated.

Beispiele

Gewährung, Widerrufen und Verweigern von Berechtigungen

Siehe auch

Verweis

PermissionInfo Klasse

Microsoft.SqlServer.Management.Smo-Namespace

Andere Ressourcen

Berechtigungen (Datenbankmodul)

sys.syspermissions (Transact-SQL)