System.Security.AccessControl.MutexSecurity.RemoveAccessRuleAll Method

Searches for all access control rules with the same user and System.Security.AccessControl.AccessControlType (allow or deny) as the specified rule and, if found, removes them.

Syntax

public void RemoveAccessRuleAll (MutexAccessRule rule)

Parameters

rule
A System.Security.AccessControl.MutexAccessRule that specifies the user and System.Security.AccessControl.AccessControlType to search for. Any rights specified by this rule are ignored.

Remarks

The current System.Security.AccessControl.MutexSecurity object is searched for rules that have the same user and the same System.Security.AccessControl.AccessControlType value as rule. Any rights specified by rule are ignored when performing this search. If no matching rules are found, no action is taken.

Requirements

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