Jazyk

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 (ACL) tohoto DiscretionaryAcl objektu může obsahovat. Toto číslo se použije jenom jako nápověda.

Poznámky

Konstruktor pro použití DiscretionaryAclIsContainer a IsDS vlastnosti pro toto CommonSecurityDescriptor.

Platí pro