編輯

共用方式為


ActiveDirectorySecurity.PurgeAccessRules(IdentityReference) Method

Definition

Removes all access rules associated with the specified IdentityReference.

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

Parameters

identity
IdentityReference

The IdentityReference for which to remove all access rules.

Exceptions

All access rules are not in canonical order.

Applies to