ObjectSecurity.PurgeAccessRules(IdentityReference) Method

Definition

Removes all access rules associated with the specified IdentityReference.

public virtual void PurgeAccessRules (System.Security.Principal.IdentityReference identity);
Parameters
identity
IdentityReference

The IdentityReference for which to remove all access rules.

Exceptions

All access rules are not in canonical order.

Applies to