PermissionInfo.GranteeType Property

Gets the type of grantee.

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

Syntax

'Declaration
Public ReadOnly Property GranteeType As PrincipalType 
    Get
'Usage
Dim instance As PermissionInfo 
Dim value As PrincipalType 

value = instance.GranteeType
public PrincipalType GranteeType { get; }
public:
property PrincipalType GranteeType {
    PrincipalType get ();
}
member GranteeType : PrincipalType
function get GranteeType () : PrincipalType

Property Value

Type: Microsoft.SqlServer.Management.Smo.PrincipalType
A PrincipalType object value that specifies the type of grantee.

Examples

Granting, Revoking, and Denying Permissions

See Also

Reference

PermissionInfo Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Permissions (Database Engine)

sys.syspermissions (Transact-SQL)