ObjectSecurity.PurgeAccessRules(IdentityReference) 方法

定义

删除与指定 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

例外

所有访问规则的顺序都不规范。

适用于