ObjectSecurity.PurgeAuditRules(IdentityReference) Method

Definition

Removes all audit rules associated with the specified IdentityReference.

public:
 virtual void PurgeAuditRules(System::Security::Principal::IdentityReference ^ identity);
public virtual void PurgeAuditRules (System.Security.Principal.IdentityReference identity);
abstract member PurgeAuditRules : System.Security.Principal.IdentityReference -> unit
override this.PurgeAuditRules : System.Security.Principal.IdentityReference -> unit
Public Overridable Sub PurgeAuditRules (identity As IdentityReference)

Parameters

identity
IdentityReference

The IdentityReference for which to remove all audit rules.

Exceptions

All audit rules are not in canonical order.

Applies to