SystemAcl Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the SystemAcl class.
Overloads
SystemAcl(Boolean, Boolean, Int32) |
Initializes a new instance of the SystemAcl class with the specified values. |
SystemAcl(Boolean, Boolean, RawAcl) |
Initializes a new instance of the SystemAcl class with the specified values from the specified RawAcl object. |
SystemAcl(Boolean, Boolean, Byte, Int32) |
Initializes a new instance of the SystemAcl class with the specified values. |
SystemAcl(Boolean, Boolean, Int32)
Initializes a new instance of the SystemAcl class with the specified values.
public:
SystemAcl(bool isContainer, bool isDS, int capacity);
public SystemAcl (bool isContainer, bool isDS, int capacity);
new System.Security.AccessControl.SystemAcl : bool * bool * int -> System.Security.AccessControl.SystemAcl
Public Sub New (isContainer As Boolean, isDS As Boolean, capacity As Integer)
Parameters
- capacity
- Int32
The number of Access Control Entries (ACEs) this SystemAcl object can contain. This number is to be used only as a hint.
Applies to
SystemAcl(Boolean, Boolean, RawAcl)
public:
SystemAcl(bool isContainer, bool isDS, System::Security::AccessControl::RawAcl ^ rawAcl);
public SystemAcl (bool isContainer, bool isDS, System.Security.AccessControl.RawAcl rawAcl);
new System.Security.AccessControl.SystemAcl : bool * bool * System.Security.AccessControl.RawAcl -> System.Security.AccessControl.SystemAcl
Public Sub New (isContainer As Boolean, isDS As Boolean, rawAcl As RawAcl)
Parameters
- rawAcl
- RawAcl
The underlying RawAcl object for the new SystemAcl object. Specify null
to create an empty ACL.
Remarks
The Access Control Entries (ACEs) in the RawAcl object are cloned.
Applies to
SystemAcl(Boolean, Boolean, Byte, Int32)
Initializes a new instance of the SystemAcl class with the specified values.
public:
SystemAcl(bool isContainer, bool isDS, System::Byte revision, int capacity);
public SystemAcl (bool isContainer, bool isDS, byte revision, int capacity);
new System.Security.AccessControl.SystemAcl : bool * bool * byte * int -> System.Security.AccessControl.SystemAcl
Public Sub New (isContainer As Boolean, isDS As Boolean, revision As Byte, capacity As Integer)
Parameters
- capacity
- Int32
The number of Access Control Entries (ACEs) this SystemAcl object can contain. This number is to be used only as a hint.