ActiveDirectorySecurity.RemoveAccess Yöntem

Tanım

Belirtilen IdentityReference nesneye ve AccessControlType nesneye sahip tüm erişim kurallarını bir nesnenin DACL'sinden kaldırır.

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)

Parametreler

identity
IdentityReference

Güvenlik IdentityReference tanımlayıcısına (SID) çözümleyen NTAccount nesnesi gibi bir nesne.

type
AccessControlType

AccessControlType ACE türünü içeren bir nesne.

Şunlara uygulanır