ActiveDirectorySecurity.RemoveAudit(IdentityReference) Method

Definition

Removes all audit rules that have the specified IdentityReference object from the SACL of an object.

public:
 void RemoveAudit(System::Security::Principal::IdentityReference ^ identity);
public void RemoveAudit (System.Security.Principal.IdentityReference identity);
member this.RemoveAudit : System.Security.Principal.IdentityReference -> unit
Public Sub RemoveAudit (identity As IdentityReference)

Parameters

identity
IdentityReference

An IdentityReference object such as an NTAccount object, that resolves to a security identifier (SID).

Applies to