AuthorizationRule Class

Definition

決定安全物件的存取權限。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
Inheritance
AuthorizationRule
Derived

Constructors

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

使用指定的值,初始化 AccessRule 類別的新執行個體。Initializes a new instance of the AccessRule class by using the specified values.

Properties

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.

Methods

Equals(Object)

判斷指定的物件是否等於目前的物件。Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

做為預設雜湊函式。Serves as the default hash function.

(Inherited from Object)
GetType()

取得目前執行個體的 TypeGets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

建立目前 Object 的淺層複製。Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

傳回代表目前物件的字串。Returns a string that represents the current object.

(Inherited from Object)

Applies to