PermissionInfo.Grantor Property


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

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

public string Grantor { get; }

Property Value

Type: System.String

A String value that specifies the name of the grantee.

This property is empty when column permissions are not enumerated.

Return to top