ObjectSecurity.PurgeAuditRules Method (IdentityReference)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Removes all audit rules associated with the specified IdentityReference.

Namespace:   System.Security.AccessControl
Assembly:  mscorlib (in mscorlib.dll)

Public Overridable Sub PurgeAuditRules (
	identity As IdentityReference
)

Parameters

identity
Type: System.Security.Principal.IdentityReference

The IdentityReference for which to remove all audit rules.

Exception Condition
InvalidOperationException

All audit rules are not in canonical order.

.NET Framework
Available since 2.0
Return to top
Show: