Sdílet prostřednictvím


CommonSecurityDescriptor.AddDiscretionaryAcl(Byte, Int32) Metoda

Definice

DiscretionaryAcl Nastaví vlastnost pro tuto CommonSecurityDescriptor instanci a nastaví DiscretionaryAclPresent příznak.

public:
 void AddDiscretionaryAcl(System::Byte revision, int trusted);
public void AddDiscretionaryAcl (byte revision, int trusted);
member this.AddDiscretionaryAcl : byte * int -> unit
Public Sub AddDiscretionaryAcl (revision As Byte, trusted As Integer)

Parametry

revision
Byte

Úroveň revize nového DiscretionaryAcl objektu.

trusted
Int32

Počet položek Access Control (ACE) může tento DiscretionaryAcl objekt obsahovat. Toto číslo se použije pouze jako nápověda.

Poznámky

Konstruktor pro používá DiscretionaryAclIsContainer vlastnosti a IsDS pro tento CommonSecurityDescriptorobjekt .

Platí pro