AccessRule 類別

定義

表示使用者的識別 (Identity)、存取遮罩和存取控制 (Access Control) 型別 (允許或拒絕) 的組合。 物件 AccessRule 也包含子物件如何繼承規則,以及如何傳播該繼承的資訊。

public ref class AccessRule abstract : System::Security::AccessControl::AuthorizationRule
public abstract class AccessRule : System.Security.AccessControl.AuthorizationRule
type AccessRule = class
    inherit AuthorizationRule
Public MustInherit Class AccessRule
Inherits AuthorizationRule
繼承
衍生

建構函式

AccessRule(IdentityReference, Int32, Boolean, InheritanceFlags, PropagationFlags, AccessControlType)

使用指定的值,初始化 AccessRule 類別的新執行個體。

屬性

AccessControlType

取得與這個 AccessControlType 物件相關聯的 AccessRule 值。

AccessMask

取得此規則的存取遮罩。

(繼承來源 AuthorizationRule)
IdentityReference

取得要套用此規則的 IdentityReference

(繼承來源 AuthorizationRule)
InheritanceFlags

取得旗標值,這個值會決定子物件繼承這項規則的方式。

(繼承來源 AuthorizationRule)
IsInherited

取得值,表示這個規則是否會明確地設定或繼承自父容器物件。

(繼承來源 AuthorizationRule)
PropagationFlags

取得傳播旗標的值,該值判斷這個規則的繼承如何傳播到子物件。 只有當 InheritanceFlags 列舉的值不是 None,這個屬性才是重要的。

(繼承來源 AuthorizationRule)

方法

Equals(Object)

判斷指定的物件是否等於目前的物件。

(繼承來源 Object)
GetHashCode()

做為預設雜湊函式。

(繼承來源 Object)
GetType()

取得目前執行個體的 Type

(繼承來源 Object)
MemberwiseClone()

建立目前 Object 的淺層複製。

(繼承來源 Object)
ToString()

傳回代表目前物件的字串。

(繼承來源 Object)

適用於