DiscretionaryAcl DiscretionaryAcl DiscretionaryAcl DiscretionaryAcl Constructors

Definition

Overloads

DiscretionaryAcl(Boolean, Boolean, Int32) DiscretionaryAcl(Boolean, Boolean, Int32) DiscretionaryAcl(Boolean, Boolean, Int32) DiscretionaryAcl(Boolean, Boolean, Int32)

Initializes a new instance of the DiscretionaryAcl class with the specified values.

DiscretionaryAcl(Boolean, Boolean, RawAcl) DiscretionaryAcl(Boolean, Boolean, RawAcl) DiscretionaryAcl(Boolean, Boolean, RawAcl)

Initializes a new instance of the DiscretionaryAcl class with the specified values from the specified RawAcl object.

DiscretionaryAcl(Boolean, Boolean, Byte, Int32) DiscretionaryAcl(Boolean, Boolean, Byte, Int32) DiscretionaryAcl(Boolean, Boolean, Byte, Int32) DiscretionaryAcl(Boolean, Boolean, Byte, Int32)

Initializes a new instance of the DiscretionaryAcl class with the specified values.

DiscretionaryAcl(Boolean, Boolean, Int32) DiscretionaryAcl(Boolean, Boolean, Int32) DiscretionaryAcl(Boolean, Boolean, Int32) DiscretionaryAcl(Boolean, Boolean, Int32)

Initializes a new instance of the DiscretionaryAcl class with the specified values.

public:
 DiscretionaryAcl(bool isContainer, bool isDS, int capacity);
public DiscretionaryAcl (bool isContainer, bool isDS, int capacity);
new System.Security.AccessControl.DiscretionaryAcl : bool * bool * int -> System.Security.AccessControl.DiscretionaryAcl
Public Sub New (isContainer As Boolean, isDS As Boolean, capacity As Integer)

Parameters

isContainer
Boolean Boolean Boolean Boolean

true if the new DiscretionaryAcl object is a container.

isDS
Boolean Boolean Boolean Boolean

true if the new DiscretionaryAcl object is a directory object Access Control List (ACL).

capacity
Int32 Int32 Int32 Int32

The number of Access Control Entries (ACEs) this DiscretionaryAcl object can contain. This number is to be used only as a hint.

DiscretionaryAcl(Boolean, Boolean, RawAcl) DiscretionaryAcl(Boolean, Boolean, RawAcl) DiscretionaryAcl(Boolean, Boolean, RawAcl)

Initializes a new instance of the DiscretionaryAcl class with the specified values from the specified RawAcl object.

public:
 DiscretionaryAcl(bool isContainer, bool isDS, System::Security::AccessControl::RawAcl ^ rawAcl);
public DiscretionaryAcl (bool isContainer, bool isDS, System.Security.AccessControl.RawAcl rawAcl);
new System.Security.AccessControl.DiscretionaryAcl : bool * bool * System.Security.AccessControl.RawAcl -> System.Security.AccessControl.DiscretionaryAcl

Parameters

isContainer
Boolean Boolean Boolean Boolean

true if the new DiscretionaryAcl object is a container.

isDS
Boolean Boolean Boolean Boolean

true if the new DiscretionaryAcl object is a directory object Access Control List (ACL).

rawAcl
RawAcl RawAcl RawAcl RawAcl

The underlying RawAcl object for the new DiscretionaryAcl object. Specify null to create an empty ACL.

Remarks

The Access Control Entries (ACEs) in the RawAcl object are cloned.

DiscretionaryAcl(Boolean, Boolean, Byte, Int32) DiscretionaryAcl(Boolean, Boolean, Byte, Int32) DiscretionaryAcl(Boolean, Boolean, Byte, Int32) DiscretionaryAcl(Boolean, Boolean, Byte, Int32)

Initializes a new instance of the DiscretionaryAcl class with the specified values.

public:
 DiscretionaryAcl(bool isContainer, bool isDS, System::Byte revision, int capacity);
public DiscretionaryAcl (bool isContainer, bool isDS, byte revision, int capacity);
new System.Security.AccessControl.DiscretionaryAcl : bool * bool * byte * int -> System.Security.AccessControl.DiscretionaryAcl
Public Sub New (isContainer As Boolean, isDS As Boolean, revision As Byte, capacity As Integer)

Parameters

isContainer
Boolean Boolean Boolean Boolean

true if the new DiscretionaryAcl object is a container.

isDS
Boolean Boolean Boolean Boolean

true if the new DiscretionaryAcl object is a directory object Access Control List (ACL).

revision
Byte Byte Byte Byte

The revision level of the new DiscretionaryAcl object.

capacity
Int32 Int32 Int32 Int32

The number of Access Control Entries (ACEs) this DiscretionaryAcl object can contain. This number is to be used only as a hint.

Applies to