ObjectSecurity.PurgeAuditRules(IdentityReference) Method

Definition

Removes all audit rules associated with the specified IdentityReference.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.The IdentityReference for which to remove all audit rules.

Exceptions

Les règles d'audit ne suivent pas toutes un ordre canonique.All audit rules are not in canonical order.

Applies to