RevokeObjectRights Method
See Also 
SourceCode.Authorization.Client Namespace > AuthorizationClient Class : RevokeObjectRights Method



identityName
The name of the identity.
identityType
The SourceCode.Authorization.Interfaces.IdentityType of the identity.
objectID
The ID of the object.
rights
The rights to be revoked.

Glossary Item Box

Revokes the rights of an identity on an object.

Syntax

Visual Basic (Declaration) 
Public Sub RevokeObjectRights( _
   ByVal identityName As String, _
   ByVal identityType As SourceCode.Authorization.Interfaces.IdentityType, _
   ByVal objectID As Guid, _
   ByVal rights As Long _
) 
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 rights As Long
 
instance.RevokeObjectRights(identityName, identityType, objectID, rights)
C# 
public void RevokeObjectRights( 
   string identityName,
   SourceCode.Authorization.Interfaces.IdentityType identityType,
   Guid objectID,
   long rights
)
C++/CLI 
public:
void RevokeObjectRights( 
   String^ identityName,
   SourceCode.Authorization.Interfaces.IdentityType identityType,
   Guid objectID,
   int64 rights
) 

Parameters

identityName
The name of the identity.
identityType
The SourceCode.Authorization.Interfaces.IdentityType of the identity.
objectID
The ID of the object.
rights
The rights to be revoked.

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