PipeAccessRule 類別

定義

表示存取控制項目 (ACE) 的抽象概念,其定義管道的存取規則。

public ref class PipeAccessRule sealed : System::Security::AccessControl::AccessRule
public sealed class PipeAccessRule : System.Security.AccessControl.AccessRule
type PipeAccessRule = class
    inherit AccessRule
Public NotInheritable Class PipeAccessRule
Inherits AccessRule
繼承

備註

訪問控制規則會定義使用者帳戶許可權,以判斷在執行 Microsoft Windows 的電腦上允許或不允許哪些動作。

類別 PipeAccessRule 代表基礎訪問控制專案 (ACE) 抽象概念,指定使用者帳戶、提供 (讀取、寫入) 等存取權的類型,以及是否允許或拒絕該許可權。 這個類別也可以指定如何將存取規則傳播至子物件。

PipeAccessRule使用類別來建立新的存取規則。 您可以使用 類別來儲存規則 PipeSecurity

建構函式

PipeAccessRule(IdentityReference, PipeAccessRights, AccessControlType)

使用指定的識別、管道存取權限和存取控制型別,初始化 PipeAccessRule 類別的新執行個體。

PipeAccessRule(String, PipeAccessRights, AccessControlType)

使用指定的識別、管道存取權限和存取控制型別,初始化 PipeAccessRule 類別的新執行個體。

屬性

AccessControlType

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

(繼承來源 AccessRule)
AccessMask

取得此規則的存取遮罩。

(繼承來源 AuthorizationRule)
IdentityReference

取得要套用此規則的 IdentityReference

(繼承來源 AuthorizationRule)
InheritanceFlags

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

(繼承來源 AuthorizationRule)
IsInherited

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

(繼承來源 AuthorizationRule)
PipeAccessRights

取得與目前 PipeAccessRights 物件相關聯的 PipeAccessRule 旗標。

PropagationFlags

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

(繼承來源 AuthorizationRule)

方法

Equals(Object)

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

(繼承來源 Object)
GetHashCode()

做為預設雜湊函式。

(繼承來源 Object)
GetType()

取得目前執行個體的 Type

(繼承來源 Object)
MemberwiseClone()

建立目前 Object 的淺層複製。

(繼承來源 Object)
ToString()

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

(繼承來源 Object)

適用於