Share via


IDatabasePrincipal.Permissions Property

Gets a collection of permissions granted or denied to this principal.

Namespace:  Microsoft.SqlServer.Management.SqlParser.Metadata
Assembly:  Microsoft.SqlServer.Management.SqlParser (in Microsoft.SqlServer.Management.SqlParser.dll)

Syntax

'Declaration
ReadOnly Property Permissions As IMetadataCollection(Of IDatabasePermission)
    Get
'Usage
Dim instance As IDatabasePrincipal 
Dim value As IMetadataCollection(Of IDatabasePermission)

value = instance.Permissions
IMetadataCollection<IDatabasePermission> Permissions { get; }
property IMetadataCollection<IDatabasePermission^>^ Permissions {
    IMetadataCollection<IDatabasePermission^>^ get ();
}
abstract Permissions : IMetadataCollection<IDatabasePermission>
function get Permissions () : IMetadataCollection<IDatabasePermission>

Property Value

Type: Microsoft.SqlServer.Management.SqlParser.Metadata.IMetadataCollection<IDatabasePermission>
A collection of permissions granted or denied to this principal.

See Also

Reference

IDatabasePrincipal Interface

Microsoft.SqlServer.Management.SqlParser.Metadata Namespace