ControlFlags 枚举

定义

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

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

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

字段

DiscretionaryAclAutoInherited 1024

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

DiscretionaryAclAutoInheritRequired 256

已忽略。Ignored.

DiscretionaryAclDefaulted 8

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

DiscretionaryAclPresent 4

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

DiscretionaryAclProtected 4096

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

DiscretionaryAclUntrusted 64

已忽略。Ignored.

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 0

无控制标志。No control flags.

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 16384

指定“保留”(Reserved) 字段的内容是有效的。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.

ServerSecurity 128

已忽略。Ignored.

SystemAclAutoInherited 2048

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

SystemAclAutoInheritRequired 512

已忽略。Ignored.

SystemAclDefaulted 32

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

SystemAclPresent 16

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

SystemAclProtected 8192

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

适用于