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, ActiveDirectorySecurityInheritance, Guid)

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

ActiveDirectoryAccessRule(IdentityReference, ActiveDirectoryRights, AccessControlType, ActiveDirectorySecurityInheritance)

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

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

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

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

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

ActiveDirectoryAccessRule(IdentityReference, ActiveDirectoryRights, AccessControlType, Guid)

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

ActiveDirectoryAccessRule(IdentityReference, ActiveDirectoryRights, AccessControlType)

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

属性

名称 说明
AccessControlType

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

(继承自 AccessRule)
AccessMask

获取此规则的访问掩码。

(继承自 AuthorizationRule)
ActiveDirectoryRights

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

IdentityReference

IdentityReference获取此规则适用的对象。

(继承自 AuthorizationRule)
InheritanceFlags

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

(继承自 AuthorizationRule)
InheritanceType

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

InheritedObjectType

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

(继承自 ObjectAccessRule)
IsInherited

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

(继承自 AuthorizationRule)
ObjectFlags

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

(继承自 ObjectAccessRule)
ObjectType

获取应用对象 ObjectAccessRule 的类型。

(继承自 ObjectAccessRule)
PropagationFlags

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

(继承自 AuthorizationRule)

方法

名称 说明
Equals(Object)

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

(继承自 Object)
GetHashCode()

用作默认哈希函数。

(继承自 Object)
GetType()

获取当前实例的 Type

(继承自 Object)
MemberwiseClone()

创建当前 Object的浅表副本。

(继承自 Object)
ToString()

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

(继承自 Object)

适用于