ActiveDirectorySecurity.RemoveAccess メソッド

定義

指定した IdentityReference オブジェクトと AccessControlType オブジェクトを持つすべてのアクセス規則を、オブジェクトの DACL から削除します。

public:
 void RemoveAccess(System::Security::Principal::IdentityReference ^ identity, System::Security::AccessControl::AccessControlType type);
public void RemoveAccess (System.Security.Principal.IdentityReference identity, System.Security.AccessControl.AccessControlType type);
member this.RemoveAccess : System.Security.Principal.IdentityReference * System.Security.AccessControl.AccessControlType -> unit
Public Sub RemoveAccess (identity As IdentityReference, type As AccessControlType)

パラメーター

identity
IdentityReference

セキュリティ識別子 (SID) に解決される IdentityReference オブジェクト (NTAccount オブジェクトなど)。

type
AccessControlType

ACE の種類が格納された AccessControlType オブジェクト。

適用対象