PurgeAuditRules Method

ObjectSecurity.PurgeAuditRules Method (IdentityReference)

 

Removes all audit rules associated with the specified IdentityReference.

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

abstract PurgeAuditRules : 
        identity:IdentityReference -> unit
override PurgeAuditRules : 
        identity:IdentityReference -> unit

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.

Universal Windows Platform
Available since 10
.NET Framework
Available since 2.0
Return to top
Show:
© 2016 Microsoft