RawSecurityDescriptor 類別

定義

代表一種安全描述符。 安全描述符包含擁有者、主要群組、Discretionary 存取控制 List(DACL)以及 System 存取控制 List(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

建構函式

名稱 Description
RawSecurityDescriptor(Byte[], Int32)

從指定的位元組數陣列初始化該 RawSecurityDescriptor 類別的新實例。

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

初始化一個新的類別實例 RawSecurityDescriptor ,並以指定值。

RawSecurityDescriptor(String)

從指定的安全描述符定義語言(SDDL)字串初始化該 RawSecurityDescriptor 類別的新實例。

屬性

名稱 Description
BinaryLength

取得目前 GenericSecurityDescriptor 物件二進位表示的長度(位元組)。 此長度應先使用,然後再將 ACL 編入二 GetBinaryForm(Byte[], Int32) 進位陣列。

(繼承來源 GenericSecurityDescriptor)
ControlFlags

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

DiscretionaryAcl

取得或設定此 RawSecurityDescriptor 物件的自由裁量 存取控制 清單(DACL)。 DACL 包含存取規則。

Group

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

Owner

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

ResourceManagerControl

取得或設定一個位元組值,代表與此 RawSecurityDescriptor 物件相關的資源管理器控制位元。

SystemAcl

取得或設定此 RawSecurityDescriptor 物件的系統存取控制清單(SACL)。 SACL包含審計規則。

方法

名稱 Description
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)

適用於