ActiveDirectorySecurity.RemoveAccess Method (IdentityReference, AccessControlType)

 

Removes all access rules that have the specified IdentityReference object and AccessControlType object from the DACL of an object.

Namespace:   System.DirectoryServices
Assembly:  System.DirectoryServices (in System.DirectoryServices.dll)

public void RemoveAccess(
	IdentityReference identity,
	AccessControlType type
)

Parameters

identity
Type: System.Security.Principal.IdentityReference

An IdentityReference object such as an NTAccount object, that resolves to a security identifier (SID).

type
Type: System.Security.AccessControl.AccessControlType

An AccessControlType object that contains the ACE type.

.NET Framework
Available since 2.0
Return to top
Show: