RawSecurityDescriptor 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
表示安全描述符。 安全描述符包括所有者、主组、自由访问控制列表(DACL)和系统访问控制列表(SACL)。
public ref class RawSecurityDescriptor sealed : System::Security::AccessControl::GenericSecurityDescriptor
public sealed class RawSecurityDescriptor : System.Security.AccessControl.GenericSecurityDescriptor
type RawSecurityDescriptor = class
inherit GenericSecurityDescriptor
Public NotInheritable Class RawSecurityDescriptor
Inherits GenericSecurityDescriptor
- 继承
构造函数
| 名称 | 说明 |
|---|---|
| RawSecurityDescriptor(Byte[], Int32) |
从指定的字节值数组初始化类的新实例 RawSecurityDescriptor 。 |
| RawSecurityDescriptor(ControlFlags, SecurityIdentifier, SecurityIdentifier, RawAcl, RawAcl) |
使用指定的值初始化类的新实例 RawSecurityDescriptor 。 |
| RawSecurityDescriptor(String) |
从指定的安全描述符定义语言 (SDDL) 字符串初始化类的新实例 RawSecurityDescriptor 。 |
属性
| 名称 | 说明 |
|---|---|
| BinaryLength |
获取当前 GenericSecurityDescriptor 对象的二进制表示形式的长度(以字节为单位)。 在使用 GetBinaryForm(Byte[], Int32) 该方法将 ACL 封送到二进制数组之前,应使用此长度。 (继承自 GenericSecurityDescriptor) |
| ControlFlags |
获取指定对象行为 RawSecurityDescriptor 的值。 |
| DiscretionaryAcl |
获取或设置此 RawSecurityDescriptor 对象的自由访问控制列表 (DACL)。 DACL 包含访问规则。 |
| Group |
获取或设置此 RawSecurityDescriptor 对象的主组。 |
| Owner |
获取或设置与此 RawSecurityDescriptor 对象关联的对象的所有者。 |
| ResourceManagerControl |
获取或设置一个字节值,该值表示与此 RawSecurityDescriptor 对象关联的资源管理器控制位。 |
| SystemAcl |
获取或设置此 RawSecurityDescriptor 对象的系统访问控制列表 (SACL)。 SACL 包含审核规则。 |
方法
| 名称 | 说明 |
|---|---|
| Equals(Object) |
确定指定的对象是否等于当前对象。 (继承自 Object) |
| GetBinaryForm(Byte[], Int32) |
返回表示此 GenericSecurityDescriptor 对象中包含的信息的字节值的数组。 (继承自 GenericSecurityDescriptor) |
| GetHashCode() |
用作默认哈希函数。 (继承自 Object) |
| GetSddlForm(AccessControlSections) |
返回此 GenericSecurityDescriptor 对象所表示的安全描述符的安全描述符定义语言(SDDL)表示形式。 (继承自 GenericSecurityDescriptor) |
| GetType() |
获取当前实例的 Type。 (继承自 Object) |
| MemberwiseClone() |
创建当前 Object的浅表副本。 (继承自 Object) |
| SetFlags(ControlFlags) |
将此ControlFlagsRawSecurityDescriptor对象的属性设置为指定的值。 |
| ToString() |
返回一个表示当前对象的字符串。 (继承自 Object) |