ActiveDirectoryAccessRule 类

定义

ActiveDirectoryAccessRule 类用于表示 Active Directory 域服务对象的自由访问控制列表 (DACL) 中的访问控制项 (ACE)。

public ref class ActiveDirectoryAccessRule : System::Security::AccessControl::ObjectAccessRule
public class ActiveDirectoryAccessRule : System.Security.AccessControl.ObjectAccessRule
type ActiveDirectoryAccessRule = class
    inherit ObjectAccessRule
Public Class ActiveDirectoryAccessRule
Inherits ObjectAccessRule
继承
派生

注解

ActiveDirectoryAccessRule类包含访问规则的属性,例如受信人、访问控制类型、访问掩码和继承标志。 此类型的访问规则是在 对象上设置的 ActiveDirectorySecurity

ActiveDirectorySecurity 对象提交到目录存储区后,它将根据对象上设置的规则修改对象 ActiveDirectoryAccessRule 的安全描述符。

构造函数

ActiveDirectoryAccessRule(IdentityReference, ActiveDirectoryRights, AccessControlType)

使用指定的标识引用、Active Directory 域服务权限和访问规则类型来初始化 ActiveDirectoryAccessRule 类的新实例。

ActiveDirectoryAccessRule(IdentityReference, ActiveDirectoryRights, AccessControlType, ActiveDirectorySecurityInheritance)

使用指定的标识引用、Active Directory 域服务权限、访问规则类型和继承类型来初始化 ActiveDirectoryAccessRule 类的新实例。

ActiveDirectoryAccessRule(IdentityReference, ActiveDirectoryRights, AccessControlType, ActiveDirectorySecurityInheritance, Guid)

使用指定的标识引用、Active Directory 域服务权限、访问规则类型、继承类型和继承对象类型来初始化 ActiveDirectoryAccessRule 类的新实例。

ActiveDirectoryAccessRule(IdentityReference, ActiveDirectoryRights, AccessControlType, Guid)

使用指定的标识引用、Active Directory 域服务权限、访问规则类型和对象类型来初始化 ActiveDirectoryAccessRule 类的新实例。

ActiveDirectoryAccessRule(IdentityReference, ActiveDirectoryRights, AccessControlType, Guid, ActiveDirectorySecurityInheritance)

使用指定的标识引用、Active Directory 域服务权限、访问规则类型、对象类型和继承类型来初始化 ActiveDirectoryAccessRule 类的新实例。

ActiveDirectoryAccessRule(IdentityReference, ActiveDirectoryRights, AccessControlType, Guid, ActiveDirectorySecurityInheritance, Guid)

使用指定的标识引用、Active Directory 域服务权限、访问规则类型、对象类型、继承类型和继承对象类型来初始化 ActiveDirectoryAccessRule 类的新实例。

属性

AccessControlType

获取与此 AccessControlType 对象关联的 AccessRule 对象。

(继承自 AccessRule)
AccessMask

获取此规则的访问掩码。

(继承自 AuthorizationRule)
ActiveDirectoryRights

获取此访问规则的 Active Directory 域服务权限。

IdentityReference

获取对其应用此规则的 IdentityReference

(继承自 AuthorizationRule)
InheritanceFlags

获取用于确定子对象如何继承此规则的标志的值。

(继承自 AuthorizationRule)
InheritanceType

获取此访问规则的继承类型。

InheritedObjectType

获取可继承 ObjectAccessRule 对象的子对象的类型。

(继承自 ObjectAccessRule)
IsInherited

获取一个值,该值指示此规则是否为显式设置或继承自父级容器对象。

(继承自 AuthorizationRule)
ObjectFlags

获取指定的 ObjectAccessRule 对象的 ObjectTypeInheritedObjectType 属性是否包含有效值的标志。

(继承自 ObjectAccessRule)
ObjectType

获取 ObjectAccessRule 适用的对象类型。

(继承自 ObjectAccessRule)
PropagationFlags

获取传播标志的值,该值确定如何将此规则的继承传播到子对象。 仅当 InheritanceFlags 枚举的值不为 None 时,此属性才有意义。

(继承自 AuthorizationRule)

方法

Equals(Object)

确定指定对象是否等于当前对象。

(继承自 Object)
GetHashCode()

作为默认哈希函数。

(继承自 Object)
GetType()

获取当前实例的 Type

(继承自 Object)
MemberwiseClone()

创建当前 Object 的浅表副本。

(继承自 Object)
ToString()

返回表示当前对象的字符串。

(继承自 Object)

适用于