This documentation is archived and is not being maintained.
ControlFlags Enumeration
Visual Studio 2010
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.AccessControlAssembly: mscorlib (in mscorlib.dll)
| Member name | Description | |
|---|---|---|
| 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. | |
| GroupDefaulted | Specifies that the group SecurityIdentifier was obtained by a defaulting mechanism. Set by resource managers only; should not be set by callers. | |
| DiscretionaryAclPresent | Specifies that the DACL is not nullptr. Set by resource managers or users. | |
| DiscretionaryAclDefaulted | Specifies that the DACL was obtained by a defaulting mechanism. Set by resource managers only. | |
| SystemAclPresent | Specifies that the SACL is not nullptr. Set by resource managers or users. | |
| SystemAclDefaulted | Specifies that the SACL was obtained by a defaulting mechanism. Set by resource managers only. | |
| DiscretionaryAclUntrusted | Ignored. | |
| ServerSecurity | Ignored. | |
| DiscretionaryAclAutoInheritRequired | Ignored. | |
| SystemAclAutoInheritRequired | Ignored. | |
| DiscretionaryAclAutoInherited | Specifies that the Discretionary Access Control List (DACL) has been automatically inherited from the parent. Set by resource managers only. | |
| SystemAclAutoInherited | Specifies that the System Access Control List (SACL) has been automatically inherited from the parent. Set by resource managers only. | |
| DiscretionaryAclProtected | Specifies that the resource manager prevents auto-inheritance. Set by resource managers or users. | |
| SystemAclProtected | Specifies that the resource manager prevents auto-inheritance. Set by resource managers or users. | |
| 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. |
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: