Editar

Partilhar via


ControlFlags Enum

Definition

These flags affect the security descriptor behavior.

This enumeration supports a bitwise combination of its member values.

public enum class ControlFlags
[System.Flags]
public enum ControlFlags
[<System.Flags>]
type ControlFlags = 
Public Enum ControlFlags
Inheritance
ControlFlags
Attributes

Fields

Name Value Description
None 0

No control flags.

OwnerDefaulted 1

Specifies that the owner SecurityIdentifier was obtained by a defaulting mechanism. Set by resource managers only; should not be set by callers.

GroupDefaulted 2

Specifies that the group SecurityIdentifier was obtained by a defaulting mechanism. Set by resource managers only; should not be set by callers.

DiscretionaryAclPresent 4

Specifies that the DACL is not null. Set by resource managers or users.

DiscretionaryAclDefaulted 8

Specifies that the DACL was obtained by a defaulting mechanism. Set by resource managers only.

SystemAclPresent 16

Specifies that the SACL is not null. Set by resource managers or users.

SystemAclDefaulted 32

Specifies that the SACL was obtained by a defaulting mechanism. Set by resource managers only.

DiscretionaryAclUntrusted 64

Ignored.

ServerSecurity 128

Ignored.

DiscretionaryAclAutoInheritRequired 256

Ignored.

SystemAclAutoInheritRequired 512

Ignored.

DiscretionaryAclAutoInherited 1024

Specifies that the Discretionary Access Control List (DACL) has been automatically inherited from the parent. Set by resource managers only.

SystemAclAutoInherited 2048

Specifies that the System Access Control List (SACL) has been automatically inherited from the parent. Set by resource managers only.

DiscretionaryAclProtected 4096

Specifies that the resource manager prevents auto-inheritance. Set by resource managers or users.

SystemAclProtected 8192

Specifies that the resource manager prevents auto-inheritance. Set by resource managers or users.

RMControlValid 16384

Specifies that the contents of the Reserved field are valid.

SelfRelative 32768

Specifies that the security descriptor binary representation is in the self-relative format. This flag is always set.

Applies to