Bewerken

Delen via


DiscretionaryAcl.RemoveAccessSpecific Method

Definition

Removes the specified Access Control Entry (ACE) from the current DiscretionaryAcl object.

Overloads

RemoveAccessSpecific(AccessControlType, SecurityIdentifier, ObjectAccessRule)

Removes the specified Access Control Entry (ACE) from the current DiscretionaryAcl object.

RemoveAccessSpecific(AccessControlType, SecurityIdentifier, Int32, InheritanceFlags, PropagationFlags)

Removes the specified Access Control Entry (ACE) from the current DiscretionaryAcl object.

RemoveAccessSpecific(AccessControlType, SecurityIdentifier, Int32, InheritanceFlags, PropagationFlags, ObjectAceFlags, Guid, Guid)

Removes the specified Access Control Entry (ACE) from the current 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.

RemoveAccessSpecific(AccessControlType, SecurityIdentifier, ObjectAccessRule)

Removes the specified Access Control Entry (ACE) from the current DiscretionaryAcl object.

public:
 void RemoveAccessSpecific(System::Security::AccessControl::AccessControlType accessType, System::Security::Principal::SecurityIdentifier ^ sid, System::Security::AccessControl::ObjectAccessRule ^ rule);
public void RemoveAccessSpecific (System.Security.AccessControl.AccessControlType accessType, System.Security.Principal.SecurityIdentifier sid, System.Security.AccessControl.ObjectAccessRule rule);
member this.RemoveAccessSpecific : System.Security.AccessControl.AccessControlType * System.Security.Principal.SecurityIdentifier * System.Security.AccessControl.ObjectAccessRule -> unit
Public Sub RemoveAccessSpecific (accessType As AccessControlType, sid As SecurityIdentifier, rule As ObjectAccessRule)

Parameters

accessType
AccessControlType

The type of access control (allow or deny) to remove.

sid
SecurityIdentifier

The SecurityIdentifier for which to remove an ACE.

rule
ObjectAccessRule

The ObjectAccessRule for which to remove access.

Applies to

RemoveAccessSpecific(AccessControlType, SecurityIdentifier, Int32, InheritanceFlags, PropagationFlags)

Removes the specified Access Control Entry (ACE) from the current DiscretionaryAcl object.

public:
 void RemoveAccessSpecific(System::Security::AccessControl::AccessControlType accessType, System::Security::Principal::SecurityIdentifier ^ sid, int accessMask, System::Security::AccessControl::InheritanceFlags inheritanceFlags, System::Security::AccessControl::PropagationFlags propagationFlags);
public void RemoveAccessSpecific (System.Security.AccessControl.AccessControlType accessType, System.Security.Principal.SecurityIdentifier sid, int accessMask, System.Security.AccessControl.InheritanceFlags inheritanceFlags, System.Security.AccessControl.PropagationFlags propagationFlags);
member this.RemoveAccessSpecific : System.Security.AccessControl.AccessControlType * System.Security.Principal.SecurityIdentifier * int * System.Security.AccessControl.InheritanceFlags * System.Security.AccessControl.PropagationFlags -> unit
Public Sub RemoveAccessSpecific (accessType As AccessControlType, sid As SecurityIdentifier, accessMask As Integer, inheritanceFlags As InheritanceFlags, propagationFlags As PropagationFlags)

Parameters

accessType
AccessControlType

The type of access control (allow or deny) to remove.

sid
SecurityIdentifier

The SecurityIdentifier for which to remove an ACE.

accessMask
Int32

The access mask for the ACE to be removed.

inheritanceFlags
InheritanceFlags

Flags that specify the inheritance properties of the ACE to be removed.

propagationFlags
PropagationFlags

Flags that specify the inheritance propagation properties for the ACE to be removed.

Applies to

RemoveAccessSpecific(AccessControlType, SecurityIdentifier, Int32, InheritanceFlags, PropagationFlags, ObjectAceFlags, Guid, Guid)

Removes the specified Access Control Entry (ACE) from the current 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.

public:
 void RemoveAccessSpecific(System::Security::AccessControl::AccessControlType accessType, System::Security::Principal::SecurityIdentifier ^ sid, int accessMask, System::Security::AccessControl::InheritanceFlags inheritanceFlags, System::Security::AccessControl::PropagationFlags propagationFlags, System::Security::AccessControl::ObjectAceFlags objectFlags, Guid objectType, Guid inheritedObjectType);
public void RemoveAccessSpecific (System.Security.AccessControl.AccessControlType accessType, System.Security.Principal.SecurityIdentifier sid, int accessMask, System.Security.AccessControl.InheritanceFlags inheritanceFlags, System.Security.AccessControl.PropagationFlags propagationFlags, System.Security.AccessControl.ObjectAceFlags objectFlags, Guid objectType, Guid inheritedObjectType);
member this.RemoveAccessSpecific : System.Security.AccessControl.AccessControlType * System.Security.Principal.SecurityIdentifier * int * System.Security.AccessControl.InheritanceFlags * System.Security.AccessControl.PropagationFlags * System.Security.AccessControl.ObjectAceFlags * Guid * Guid -> unit
Public Sub RemoveAccessSpecific (accessType As AccessControlType, sid As SecurityIdentifier, accessMask As Integer, inheritanceFlags As InheritanceFlags, propagationFlags As PropagationFlags, objectFlags As ObjectAceFlags, objectType As Guid, inheritedObjectType As Guid)

Parameters

accessType
AccessControlType

The type of access control (allow or deny) to remove.

sid
SecurityIdentifier

The SecurityIdentifier for which to remove an ACE.

accessMask
Int32

The access mask for the ACE to be removed.

inheritanceFlags
InheritanceFlags

Flags that specify the inheritance properties of the ACE to be removed.

propagationFlags
PropagationFlags

Flags that specify the inheritance propagation properties for the ACE to be removed.

objectFlags
ObjectAceFlags

Flags that specify if the objectType and inheritedObjectType parameters contain non-null values.

objectType
Guid

The identity of the class of objects to which the removed ACE applies.

inheritedObjectType
Guid

The identity of the class of child objects which can inherit the removed ACE.

Applies to