ControlFlags ControlFlags ControlFlags ControlFlags Enum

定义

这些标志将影响安全性说明符的行为。These flags affect the security descriptor behavior.

此枚举有一个 FlagsAttribute 属性,允许按位组合成员值。

public enum class ControlFlags
[System.Flags]
public enum ControlFlags
type ControlFlags = 
Public Enum ControlFlags
继承
属性

字段

DiscretionaryAclAutoInherited DiscretionaryAclAutoInherited DiscretionaryAclAutoInherited DiscretionaryAclAutoInherited 1024

指定已自动从父级继承自由访问控制列表 (DACL)。Specifies that the Discretionary Access Control List (DACL) has been automatically inherited from the parent. 仅由资源管理器设置。Set by resource managers only.

DiscretionaryAclAutoInheritRequired DiscretionaryAclAutoInheritRequired DiscretionaryAclAutoInheritRequired DiscretionaryAclAutoInheritRequired 256

已忽略。Ignored.

DiscretionaryAclDefaulted DiscretionaryAclDefaulted DiscretionaryAclDefaulted DiscretionaryAclDefaulted 8

指定 DACL 是通过默认设置机制获得的。Specifies that the DACL was obtained by a defaulting mechanism. 仅由资源管理器设置。Set by resource managers only.

DiscretionaryAclPresent DiscretionaryAclPresent DiscretionaryAclPresent DiscretionaryAclPresent 4

指定 DACL 不为 nullSpecifies that the DACL is not null. 由资源管理器或用户设置。Set by resource managers or users.

DiscretionaryAclProtected DiscretionaryAclProtected DiscretionaryAclProtected DiscretionaryAclProtected 4096

指定资源管理器阻止自动继承。Specifies that the resource manager prevents auto-inheritance. 由资源管理器或用户设置。Set by resource managers or users.

DiscretionaryAclUntrusted DiscretionaryAclUntrusted DiscretionaryAclUntrusted DiscretionaryAclUntrusted 64

已忽略。Ignored.

GroupDefaulted GroupDefaulted GroupDefaulted GroupDefaulted 2

指定组 SecurityIdentifier 是通过默认设置机制获得的。Specifies that the group SecurityIdentifier was obtained by a defaulting mechanism. 仅由资源管理器设置;不应由调用方设置。Set by resource managers only; should not be set by callers.

None None None None 0

无控制标志。No control flags.

OwnerDefaulted OwnerDefaulted OwnerDefaulted OwnerDefaulted 1

指定所有者 SecurityIdentifier 是通过默认设置机制获得的。Specifies that the owner SecurityIdentifier was obtained by a defaulting mechanism. 仅由资源管理器设置;不应由调用方设置。Set by resource managers only; should not be set by callers.

RMControlValid RMControlValid RMControlValid RMControlValid 16384

指定“保留”(Reserved) 字段的内容是有效的。Specifies that the contents of the Reserved field are valid.

SelfRelative SelfRelative SelfRelative SelfRelative 32768

指定安全性说明符二进制表示形式是自相关格式的。Specifies that the security descriptor binary representation is in the self-relative format. 总是设置此标志。This flag is always set.

ServerSecurity ServerSecurity ServerSecurity ServerSecurity 128

已忽略。Ignored.

SystemAclAutoInherited SystemAclAutoInherited SystemAclAutoInherited SystemAclAutoInherited 2048

指定已自动从父级继承系统访问控制列表 (SACL)。Specifies that the System Access Control List (SACL) has been automatically inherited from the parent. 仅由资源管理器设置。Set by resource managers only.

SystemAclAutoInheritRequired SystemAclAutoInheritRequired SystemAclAutoInheritRequired SystemAclAutoInheritRequired 512

已忽略。Ignored.

SystemAclDefaulted SystemAclDefaulted SystemAclDefaulted SystemAclDefaulted 32

指定 SACL 是通过默认设置机制获得的。Specifies that the SACL was obtained by a defaulting mechanism. 仅由资源管理器设置。Set by resource managers only.

SystemAclPresent SystemAclPresent SystemAclPresent SystemAclPresent 16

指定 SACL 不为 nullSpecifies that the SACL is not null. 由资源管理器或用户设置。Set by resource managers or users.

SystemAclProtected SystemAclProtected SystemAclProtected SystemAclProtected 8192

指定资源管理器阻止自动继承。Specifies that the resource manager prevents auto-inheritance. 由资源管理器或用户设置。Set by resource managers or users.

适用于