Breyta

Deila með


DiscretionaryAcl Constructors

Definition

Initializes a new instance of the DiscretionaryAcl class.

Overloads

DiscretionaryAcl(Boolean, Boolean, Int32)

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

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)

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

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

true if the new DiscretionaryAcl object is a container.

isDS
Boolean

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

capacity
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

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);
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
Public Sub New (isContainer As Boolean, isDS As Boolean, rawAcl As RawAcl)

Parameters

isContainer
Boolean

true if the new DiscretionaryAcl object is a container.

isDS
Boolean

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

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.

Applies to

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

true if the new DiscretionaryAcl object is a container.

isDS
Boolean

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

revision
Byte

The revision level of the new DiscretionaryAcl object.

capacity
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