Propriété PermissionInfo.Grantee

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

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Public ReadOnly Property Grantee As String 
    Get
'Utilisation
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

Valeur de propriété

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

Notes

This property is empty when column permissions are not enumerated.

Exemples

Octroi, révocation et refus d'autorisations

Voir aussi

Référence

PermissionInfo Classe

Espace de noms Microsoft.SqlServer.Management.Smo

Autres ressources

Autorisations (moteur de base de données)

sys.syspermissions (Transact-SQL)