System.Security.AccessControl.RegistrySecurity.RemoveAuditRuleAll Method

Searches for all audit rules with the same user as the specified rule and, if found, removes them.

Syntax

public void RemoveAuditRuleAll (RegistryAuditRule rule)

Parameters

rule
A System.Security.AccessControl.RegistryAuditRule that specifies the user to search for. Any rights, inheritance flags, or propagation flags specified by this rule are ignored.

Remarks

The current System.Security.AccessControl.RegistrySecurity is searched for audit rules that have the same user as rule. Any rights, inheritance flags, or propagation flags 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