DenyObjectRights Method
See Also 
SourceCode.Authorization.Client Namespace > AuthorizationClient Class : DenyObjectRights 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 denied.

Glossary Item Box

Deny the rights of an identity on an object.

Syntax

Visual Basic (Declaration) 
Public Sub DenyObjectRights( _
   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.DenyObjectRights(identityName, identityType, objectID, rights)
C# 
public void DenyObjectRights( 
   string identityName,
   SourceCode.Authorization.Interfaces.IdentityType identityType,
   Guid objectID,
   long rights
)
C++/CLI 
public:
void DenyObjectRights( 
   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 denied.

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