Edit

Share via


CommonSecurityDescriptor.PurgeAudit(SecurityIdentifier) Method

Definition

Removes all audit rules for the specified security identifier from the System Access Control List (SACL) associated with this CommonSecurityDescriptor object.

public:
 void PurgeAudit(System::Security::Principal::SecurityIdentifier ^ sid);
public void PurgeAudit (System.Security.Principal.SecurityIdentifier sid);
member this.PurgeAudit : System.Security.Principal.SecurityIdentifier -> unit
Public Sub PurgeAudit (sid As SecurityIdentifier)

Parameters

sid
SecurityIdentifier

The security identifier for which to remove audit rules.

Applies to