ObjectSecurity.PurgeAccessRules(IdentityReference) ObjectSecurity.PurgeAccessRules(IdentityReference) ObjectSecurity.PurgeAccessRules(IdentityReference) ObjectSecurity.PurgeAccessRules(IdentityReference) Method

定義

移除與指定之 IdentityReference 相關聯的所有存取規則。Removes all access rules associated with the specified IdentityReference.

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

參數

identity
IdentityReference IdentityReference IdentityReference IdentityReference

要為其移除所有存取規則的 IdentityReferenceThe IdentityReference for which to remove all access rules.

例外狀況

並非所有的存取規則都以標準順序排序。All access rules are not in canonical order.

適用於