<PackageReference Include="System.Security.AccessControl" Version="4.6.0-preview4.19212.13" />

RawSecurityDescriptor

Represents a security descriptor. A security descriptor includes an owner, a primary group, a Discretionary Access Control List (DACL), and a System Access Control List (SACL).
public RawAcl DiscretionaryAcl { get; set; }

Gets or sets the Discretionary Access Control List (DACL) for this RawSecurityDescriptor object. The DACL contains access rules.

public byte ResourceManagerControl { get; set; }

Gets or sets a byte value that represents the resource manager control bits associated with this RawSecurityDescriptor object.

public RawAcl SystemAcl { get; set; }

Gets or sets the System Access Control List (SACL) for this RawSecurityDescriptor object. The SACL contains audit rules.

public RawSecurityDescriptor(byte[] binaryForm, int offset)

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

public RawSecurityDescriptor(ControlFlags flags, SecurityIdentifier owner, SecurityIdentifier group, RawAcl systemAcl, RawAcl discretionaryAcl)

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

public RawSecurityDescriptor(string sddlForm)

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

public void SetFlags(ControlFlags flags)

Sets the ControlFlags property of this RawSecurityDescriptor object to the specified value.