Επεξεργασία

Κοινή χρήση μέσω


RawSecurityDescriptor Constructors

Definition

Initializes a new instance of the RawSecurityDescriptor class.

Overloads

RawSecurityDescriptor(String)

Initializes a new instance of the RawSecurityDescriptor class from the specified Security Descriptor Definition Language (SDDL) string.

RawSecurityDescriptor(Byte[], Int32)

Initializes a new instance of the RawSecurityDescriptor class from the specified array of byte values.

RawSecurityDescriptor(ControlFlags, SecurityIdentifier, SecurityIdentifier, RawAcl, RawAcl)

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

RawSecurityDescriptor(String)

Initializes a new instance of the RawSecurityDescriptor class from the specified Security Descriptor Definition Language (SDDL) string.

public:
 RawSecurityDescriptor(System::String ^ sddlForm);
public RawSecurityDescriptor (string sddlForm);
new System.Security.AccessControl.RawSecurityDescriptor : string -> System.Security.AccessControl.RawSecurityDescriptor
Public Sub New (sddlForm As String)

Parameters

sddlForm
String

The SDDL string from which to create the new RawSecurityDescriptor object.

Exceptions

The SDDL form of a security descriptor object is invalid.

Applies to

RawSecurityDescriptor(Byte[], Int32)

Initializes a new instance of the RawSecurityDescriptor class from the specified array of byte values.

public:
 RawSecurityDescriptor(cli::array <System::Byte> ^ binaryForm, int offset);
public RawSecurityDescriptor (byte[] binaryForm, int offset);
new System.Security.AccessControl.RawSecurityDescriptor : byte[] * int -> System.Security.AccessControl.RawSecurityDescriptor
Public Sub New (binaryForm As Byte(), offset As Integer)

Parameters

binaryForm
Byte[]

The array of byte values from which to create the new RawSecurityDescriptor object.

offset
Int32

The offset in the binaryForm array at which to begin copying.

Applies to

RawSecurityDescriptor(ControlFlags, SecurityIdentifier, SecurityIdentifier, RawAcl, RawAcl)

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

public:
 RawSecurityDescriptor(System::Security::AccessControl::ControlFlags flags, System::Security::Principal::SecurityIdentifier ^ owner, System::Security::Principal::SecurityIdentifier ^ group, System::Security::AccessControl::RawAcl ^ systemAcl, System::Security::AccessControl::RawAcl ^ discretionaryAcl);
public RawSecurityDescriptor (System.Security.AccessControl.ControlFlags flags, System.Security.Principal.SecurityIdentifier? owner, System.Security.Principal.SecurityIdentifier? group, System.Security.AccessControl.RawAcl? systemAcl, System.Security.AccessControl.RawAcl? discretionaryAcl);
public RawSecurityDescriptor (System.Security.AccessControl.ControlFlags flags, System.Security.Principal.SecurityIdentifier owner, System.Security.Principal.SecurityIdentifier group, System.Security.AccessControl.RawAcl systemAcl, System.Security.AccessControl.RawAcl discretionaryAcl);
new System.Security.AccessControl.RawSecurityDescriptor : System.Security.AccessControl.ControlFlags * System.Security.Principal.SecurityIdentifier * System.Security.Principal.SecurityIdentifier * System.Security.AccessControl.RawAcl * System.Security.AccessControl.RawAcl -> System.Security.AccessControl.RawSecurityDescriptor
Public Sub New (flags As ControlFlags, owner As SecurityIdentifier, group As SecurityIdentifier, systemAcl As RawAcl, discretionaryAcl As RawAcl)

Parameters

flags
ControlFlags

Flags that specify behavior of the new RawSecurityDescriptor object.

owner
SecurityIdentifier

The owner for the new RawSecurityDescriptor object.

group
SecurityIdentifier

The primary group for the new RawSecurityDescriptor object.

systemAcl
RawAcl

The System Access Control List (SACL) for the new RawSecurityDescriptor object.

discretionaryAcl
RawAcl

The Discretionary Access Control List (DACL) for the new RawSecurityDescriptor object.

Applies to