DirectoryObjectSecurity.RemoveAccessRuleSpecific(ObjectAccessRule) Method

Definition

Removes all access rules that exactly match the specified access rule from the Discretionary Access Control List (DACL) associated with this DirectoryObjectSecurity object.

protected:
 void RemoveAccessRuleSpecific(System::Security::AccessControl::ObjectAccessRule ^ rule);
protected void RemoveAccessRuleSpecific (System.Security.AccessControl.ObjectAccessRule rule);
member this.RemoveAccessRuleSpecific : System.Security.AccessControl.ObjectAccessRule -> unit
Protected Sub RemoveAccessRuleSpecific (rule As ObjectAccessRule)

Parameters

rule
ObjectAccessRule

The access rule to remove.

Applies to