ObjectSecurity<T>.RemoveAccessRuleAll(AccessRule<T>) Method

Definition

Removes all access rules that have the same security identifier as the specified access rule from the Discretionary Access Control List (DACL) associated with this ObjectSecurity`1 object.

public:
 virtual void RemoveAccessRuleAll(System::Security::AccessControl::AccessRule<T> ^ rule);
public virtual void RemoveAccessRuleAll (System.Security.AccessControl.AccessRule<T> rule);
override this.RemoveAccessRuleAll : System.Security.AccessControl.AccessRule<'T (requires 'T : struct)> -> unit
Public Overridable Sub RemoveAccessRuleAll (rule As AccessRule(Of T))

Parameters

rule
AccessRule<T>

The access rule to remove.

Applies to