Get the set of actions that the identity is authorized to perform on an object.
Syntax
Visual Basic (Usage) | Copy Code |
---|
Dim instance As AuthorizationClient
Dim identityName As String
Dim identityType As SourceCode.Authorization.Interfaces.IdentityType
Dim objectID As Guid
Dim value As Long
value = instance.GetObjectRights(identityName, identityType, objectID)
|
Parameters
- identityName
- The name of the identity.
- identityType
- The SourceCode.Authorization.Interfaces.IdentityType of the identity.
- objectID
- The ID of the object.
Return Value
A bit mask of authorizated actions (0 meaning none and -1 meaning all or owner)
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also