ObjectSecurity.PurgeAuditRules(IdentityReference) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.