ControlFlags Enumeration

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

These flags affect the security descriptor behavior.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

Namespace:   System.Security.AccessControl
Assembly:  mscorlib (in mscorlib.dll)

[FlagsAttribute]
public enum ControlFlags

Member nameDescription
DiscretionaryAclAutoInherited

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

DiscretionaryAclAutoInheritRequired

Ignored.

DiscretionaryAclDefaulted

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

DiscretionaryAclPresent

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

DiscretionaryAclProtected

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

DiscretionaryAclUntrusted

Ignored.

GroupDefaulted

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

None

No control flags.

OwnerDefaulted

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

RMControlValid

Specifies that the contents of the Reserved field are valid.

SelfRelative

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

ServerSecurity

Ignored.

SystemAclAutoInherited

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

SystemAclAutoInheritRequired

Ignored.

SystemAclDefaulted

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

SystemAclPresent

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

SystemAclProtected

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

.NET Framework
Available since 2.0
Return to top
Show: