SystemAcl 類別

定義

表示系統存取控制清單 (SACL)。

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

建構函式

SystemAcl(Boolean, Boolean, Byte, Int32)

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

SystemAcl(Boolean, Boolean, Int32)

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

SystemAcl(Boolean, Boolean, RawAcl)

使用指定的 SystemAcl 物件中的指定值,初始化 RawAcl 類別的新執行個體。

屬性

BinaryLength

取得目前 CommonAcl 物件的二進位表示長度 (以位元組為單位)。 使用 GetBinaryForm(Byte[], Int32) 方法,將存取控制清單 (ACL) 封送處理至二進位陣列之前,應使用這個長度。

(繼承來源 CommonAcl)
Count

取得目前 CommonAcl 物件中的存取控制項目 (ACE) 數目。

(繼承來源 CommonAcl)
IsCanonical

取得布林值,指定目前 CommonAcl 物件中的存取控制項目 (ACE) 是否為標準順序。

(繼承來源 CommonAcl)
IsContainer

設定 CommonAcl 物件是否為容器。

(繼承來源 CommonAcl)
IsDS

設定目前 CommonAcl 物件是否為目錄物件存取控制清單 (ACL)。

(繼承來源 CommonAcl)
IsSynchronized

這個屬性一律設為 false。 其實作的原因僅在於其為 ICollection 介面的實作所需。

(繼承來源 GenericAcl)
Item[Int32]

取得或設定在指定索引處的 CommonAce

(繼承來源 CommonAcl)
Revision

取得 CommonAcl 的修訂層級。

(繼承來源 CommonAcl)
SyncRoot

這個屬性永遠會傳回 null。 其實作的原因僅在於其為 ICollection 介面的實作所需。

(繼承來源 GenericAcl)

方法

AddAudit(AuditFlags, SecurityIdentifier, Int32, InheritanceFlags, PropagationFlags)

將稽核規則加入目前 SystemAcl 物件。

AddAudit(AuditFlags, SecurityIdentifier, Int32, InheritanceFlags, PropagationFlags, ObjectAceFlags, Guid, Guid)

將具有指定設定的稽核規則加入目前 SystemAcl 物件。 為新的稽核規則指定物件型別或繼承的物件型別時,您可以將這個方法用於目錄物件存取控制清單 (ACL)。

AddAudit(SecurityIdentifier, ObjectAuditRule)

將稽核規則加入目前 SystemAcl 物件。

CopyTo(GenericAce[], Int32)

將目前 GenericAcl 的每個 GenericAce 複製到指定陣列中。

(繼承來源 GenericAcl)
Equals(Object)

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

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

CommonAcl 物件的內容封送處理到開始於指定位移的指定位元組陣列。

(繼承來源 CommonAcl)
GetEnumerator()

在存取控制清單 (ACL) 中擷取可用來逐一查看存取控制項目 (ACE) 的物件。

(繼承來源 GenericAcl)
GetHashCode()

做為預設雜湊函式。

(繼承來源 Object)
GetType()

取得目前執行個體的 Type

(繼承來源 Object)
MemberwiseClone()

建立目前 Object 的淺層複製。

(繼承來源 Object)
Purge(SecurityIdentifier)

移除與指定 SecurityIdentifier 物件相關聯之這個 CommonAcl 物件中包含的所有存取控制項目 (ACE)。

(繼承來源 CommonAcl)
RemoveAudit(AuditFlags, SecurityIdentifier, Int32, InheritanceFlags, PropagationFlags)

從目前的 SystemAcl 物件移除指定的稽核規則。

RemoveAudit(AuditFlags, SecurityIdentifier, Int32, InheritanceFlags, PropagationFlags, ObjectAceFlags, Guid, Guid)

從目前的 SystemAcl 物件移除指定的稽核規則。 指定物件型別或繼承物件型別時,將這個方法用於目錄物件存取控制清單 (ACL)。

RemoveAudit(SecurityIdentifier, ObjectAuditRule)

從目前的 SystemAcl 物件移除指定的稽核規則。

RemoveAuditSpecific(AuditFlags, SecurityIdentifier, Int32, InheritanceFlags, PropagationFlags)

從目前的 DiscretionaryAcl 物件移除指定的稽核規則。

RemoveAuditSpecific(AuditFlags, SecurityIdentifier, Int32, InheritanceFlags, PropagationFlags, ObjectAceFlags, Guid, Guid)

從目前的 DiscretionaryAcl 物件移除指定的稽核規則。 指定物件型別或繼承物件型別時,將這個方法用於目錄物件存取控制清單 (ACL)。

RemoveAuditSpecific(SecurityIdentifier, ObjectAuditRule)

從目前的 DiscretionaryAcl 物件移除指定的稽核規則。

RemoveInheritedAces()

從這個 CommonAcl 物件移除所有繼承的存取控制項目 (ACE)。

(繼承來源 CommonAcl)
SetAudit(AuditFlags, SecurityIdentifier, Int32, InheritanceFlags, PropagationFlags)

為指定的 SecurityIdentifier 物件設定指定的稽核規則。

SetAudit(AuditFlags, SecurityIdentifier, Int32, InheritanceFlags, PropagationFlags, ObjectAceFlags, Guid, Guid)

為指定的 SecurityIdentifier 物件設定指定的稽核規則。 指定物件型別或繼承物件型別時,將這個方法用於目錄物件存取控制清單 (ACL)。

SetAudit(SecurityIdentifier, ObjectAuditRule)

為指定的 SecurityIdentifier 物件設定指定的稽核規則。

ToString()

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

(繼承來源 Object)

明確介面實作

ICollection.CopyTo(Array, Int32)

將目前 GenericAcl 的每個 GenericAce 複製到指定陣列中。

(繼承來源 GenericAcl)
IEnumerable.GetEnumerator()

傳回 AceEnumerator 類別的新執行個體,該執行個體轉換成 IEnumerator 介面的執行個體。

(繼承來源 GenericAcl)

擴充方法

Cast<TResult>(IEnumerable)

IEnumerable 的項目轉換成指定的型別。

OfType<TResult>(IEnumerable)

根據指定的型別來篩選 IEnumerable 的項目。

AsParallel(IEnumerable)

啟用查詢的平行化作業。

AsQueryable(IEnumerable)

IEnumerable 轉換成 IQueryable

適用於