RawSecurityDescriptor 類別

定義

代表安全性描述元。 安全性描述元,其中包含擁有者、主要群組、判別存取控制清單 (DACL) 及系統存取控制清單 (SACL)。

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

建構函式

RawSecurityDescriptor(Byte[], Int32)

從指定的位元組值陣列,初始化 RawSecurityDescriptor 類別的新執行個體。

RawSecurityDescriptor(ControlFlags, SecurityIdentifier, SecurityIdentifier, RawAcl, RawAcl)

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

RawSecurityDescriptor(String)

從指定的安全性描述元定義語言 (SDDL) 字串,初始化 RawSecurityDescriptor 類別的新執行個體。

屬性

BinaryLength

取得目前 GenericSecurityDescriptor 物件的二進位表示長度 (以位元組為單位)。 應該先使用此長度,之後再以 GetBinaryForm(Byte[], Int32) 方法封送處理 ACL 成二進位陣列。

(繼承來源 GenericSecurityDescriptor)
ControlFlags

取得指定 RawSecurityDescriptor 物件行為的值。

DiscretionaryAcl

取得或設定這個 RawSecurityDescriptor 物件的 Discretionary 存取控制清單 (DACL)。 DACL 包含存取規則。

Group

取得或設定這個 RawSecurityDescriptor 物件的主要群組。

Owner

取得或設定與 RawSecurityDescriptor 物件相關聯的物件擁有者。

ResourceManagerControl

取得或設定位元組值,表示與這個 RawSecurityDescriptor 物件相關聯的資源管理員控制位元。

SystemAcl

取得或設定這個 RawSecurityDescriptor 物件的系統存取控制清單 (SACL)。 SACL 包含稽核規則。

方法

Equals(Object)

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

(繼承來源 Object)
GetBinaryForm(Byte[], Int32)

傳回位元組值陣列,代表此 GenericSecurityDescriptor 物件中包含的資訊。

(繼承來源 GenericSecurityDescriptor)
GetHashCode()

做為預設雜湊函式。

(繼承來源 Object)
GetSddlForm(AccessControlSections)

傳回這個 GenericSecurityDescriptor 物件所代表的安全性描述元指定區段的安全性描述元定義語言 (SDDL) 表示法。

(繼承來源 GenericSecurityDescriptor)
GetType()

取得目前執行個體的 Type

(繼承來源 Object)
MemberwiseClone()

建立目前 Object 的淺層複製。

(繼承來源 Object)
SetFlags(ControlFlags)

將這個 ControlFlags 物件的 RawSecurityDescriptor 屬性設為指定值。

ToString()

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

(繼承來源 Object)

適用於