This documentation is archived and is not being maintained.

ControlFlags Enumeration

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
NoneNo control flags.
OwnerDefaultedSpecifies that the owner SecurityIdentifier was obtained by a defaulting mechanism. Set by resource managers only; should not be set by callers.
GroupDefaultedSpecifies that the group SecurityIdentifier was obtained by a defaulting mechanism. Set by resource managers only; should not be set by callers.
DiscretionaryAclPresentSpecifies that the DACL is not null. Set by resource managers or users.
DiscretionaryAclDefaultedSpecifies that the DACL was obtained by a defaulting mechanism. Set by resource managers only.
SystemAclPresentSpecifies that the SACL is not null. Set by resource managers or users.
SystemAclDefaultedSpecifies that the SACL was obtained by a defaulting mechanism. Set by resource managers only.
DiscretionaryAclUntrustedIgnored.
ServerSecurityIgnored.
DiscretionaryAclAutoInheritRequiredIgnored.
SystemAclAutoInheritRequiredIgnored.
DiscretionaryAclAutoInheritedSpecifies that the Discretionary Access Control List (DACL) has been automatically inherited from the parent. Set by resource managers only.
SystemAclAutoInheritedSpecifies that the System Access Control List (SACL) has been automatically inherited from the parent. Set by resource managers only.
DiscretionaryAclProtectedSpecifies that the resource manager prevents auto-inheritance. Set by resource managers or users.
SystemAclProtectedSpecifies that the resource manager prevents auto-inheritance. Set by resource managers or users.
RMControlValidSpecifies that the contents of the Reserved field are valid.
SelfRelativeSpecifies that the security descriptor binary representation is in the self-relative format. This flag is always set.

Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0, 2.0
Show: