AuthorizationRule 类

定义

确定对安全对象的访问权限。Determines access to securable objects. 派生类 AccessRuleAuditRule 为访问和审核功能提供专用化。The derived classes AccessRule and AuditRule offer specializations for access and audit functionality.

public ref class AuthorizationRule abstract
public abstract class AuthorizationRule
type AuthorizationRule = class
Public MustInherit Class AuthorizationRule
继承
AuthorizationRule
派生

构造函数

AuthorizationRule(IdentityReference, Int32, Boolean, InheritanceFlags, PropagationFlags)

使用指定的值初始化 AccessRule 类的新实例。Initializes a new instance of the AccessRule class by using the specified values.

属性

AccessMask

获取此规则的访问掩码。Gets the access mask for this rule.

IdentityReference

获取对其应用此规则的 IdentityReferenceGets the IdentityReference to which this rule applies.

InheritanceFlags

获取用于确定子对象如何继承此规则的标志的值。Gets the value of flags that determine how this rule is inherited by child objects.

IsInherited

获取一个值,该值指示此规则是否为显式设置或继承自父级容器对象。Gets a value indicating whether this rule is explicitly set or is inherited from a parent container object.

PropagationFlags

获取传播标志的值,该值确定如何将此规则的继承传播到子对象。Gets the value of the propagation flags, which determine how inheritance of this rule is propagated to child objects. 仅当 InheritanceFlags 枚举的值不为 None 时,此属性才有意义。This property is significant only when the value of the InheritanceFlags enumeration is not None.

方法

Equals(Object)

确定指定的对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(继承自 Object)
GetHashCode()

用作默认哈希函数。Serves as the default hash function.

(继承自 Object)
GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 Object)
ToString()

返回一个表示当前对象的 string。Returns a string that represents the current object.

(继承自 Object)

适用于