Redigera

Dela via


ActiveDirectorySecurity.PurgeAuditRules(IdentityReference) Method

Definition

Removes all audit rules associated with the specified IdentityReference.

public:
 override void PurgeAuditRules(System::Security::Principal::IdentityReference ^ identity);
public override void PurgeAuditRules (System.Security.Principal.IdentityReference identity);
override this.PurgeAuditRules : System.Security.Principal.IdentityReference -> unit
Public Overrides 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