System.Security.AccessControl.DiscretionaryAcl.RemoveAccessSpecific Method

Removes the specified Access Control Entry (ACE) from the current System.Security.AccessControl.DiscretionaryAcl object. Use this method for directory object Access Control Lists (ACLs) when specifying the object type or the inherited object type for the ACE to be removed.

Syntax

public void RemoveAccessSpecific (AccessControlType accessType, System.Security.Principal.SecurityIdentifier sid, int accessMask, InheritanceFlags inheritanceFlags, PropagationFlags propagationFlags, ObjectAceFlags objectFlags, Guid objectType, Guid inheritedObjectType)

Parameters

accessType
The type of access control (allow or deny) to remove.
sid
The System.Security.Principal.SecurityIdentifier for which to remove an ACE.
accessMask
The access mask for the ACE to be removed.
inheritanceFlags
Flags that specify the inheritance properties of the ACE to be removed.
propagationFlags
Flags that specify the inheritance propagation properties for the ACE to be removed.
objectFlags
Flags that specify if the objectType and inheritedObjectType parameters contain non-null values.
objectType
The identity of the class of objects to which the removed ACE applies.
inheritedObjectType
The identity of the class of child objects which can inherit the removed ACE.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: System.Security.AccessControl
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0