System.Security.AccessControl.FileSystemSecurity.RemoveAuditRuleAll Method

Removes all audit rules for the specified user from the current file or directory.

Syntax

public void RemoveAuditRuleAll (FileSystemAuditRule rule)

Parameters

rule
A System.Security.AccessControl.FileSystemAuditRule object that specifies a user whose audit rules should be removed from a file or directory.

Remarks

The FileSystemSecurity.RemoveAuditRuleAll(FileSystemAuditRule) method removes all audit rules for the specified user. It ignores all values in the System.Security.AccessControl.FileSystemAuditRule object except the user account.

Requirements

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