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



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

Glossary Item Box

Revokes the rights of an identity on a class.

Syntax

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

Parameters

identityName
The name of the identity.
identityType
The SourceCode.Authorization.Interfaces.IdentityType of the identity.
classID
The ID of the class.
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