ActiveDirectorySecurity.RemoveAccess Metod

Definition

Tar bort alla åtkomstregler som har det angivna IdentityReference objektet och AccessControlType objektet från DACL för ett objekt.

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)

Parametrar

identity
IdentityReference

Ett IdentityReference objekt, till exempel ett NTAccount-objekt, som matchar en säkerhetsidentifierare (SID).

type
AccessControlType

Ett AccessControlType objekt som innehåller ACE-typen.

Gäller för