ActiveDirectoryRole 類別

定義

警告

The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*

表示 Windows Workflow Foundation 主控環境中的 Active Directory 角色。 此類別無法獲得繼承。

public ref class ActiveDirectoryRole sealed : System::Workflow::Activities::WorkflowRole, IDisposable, System::Runtime::Serialization::ISerializable
[System.Serializable]
public sealed class ActiveDirectoryRole : System.Workflow.Activities.WorkflowRole, IDisposable, System.Runtime.Serialization.ISerializable
[System.Serializable]
[System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public sealed class ActiveDirectoryRole : System.Workflow.Activities.WorkflowRole, IDisposable, System.Runtime.Serialization.ISerializable
[<System.Serializable>]
type ActiveDirectoryRole = class
    inherit WorkflowRole
    interface ISerializable
    interface IDisposable
[<System.Serializable>]
[<System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")>]
type ActiveDirectoryRole = class
    inherit WorkflowRole
    interface ISerializable
    interface IDisposable
Public NotInheritable Class ActiveDirectoryRole
Inherits WorkflowRole
Implements IDisposable, ISerializable
繼承
ActiveDirectoryRole
屬性
實作

備註

注意

此資料討論已被汰換的類型及命名空間。 如需詳細資訊,請參閱 Windows Workflow Foundation 4.5 中即將淘汰的類型

一般來說,Active Directory 存放區是用來儲存人員的組織資訊。 ActiveDirectoryRole 的主要用途是要針對商業用途,查詢這類組織資訊。

Active Directory 角色一般會對應至組織環境中的工作職責、職稱或工作技能。

屬性

Name

取得或設定 Active Directory 角色名稱。

RootEntry

取得與 ActiveDirectoryRole 相關聯的根 Active Directory 節點。

方法

Equals(Object)

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

(繼承來源 Object)
GetAllReports()

傳回 ActiveDirectoryRole,其中包含直接或間接報告給目前角色的所有角色。

GetDirectReports()

傳回 ActiveDirectoryRole,其中包含直接報告給目前角色的所有角色。

GetEntries()

傳回一般集合,其中包含與目前 DirectoryEntry 相關聯的所有 ActiveDirectoryRole 物件。

GetHashCode()

做為預設雜湊函式。

(繼承來源 Object)
GetIdentities()

取得與 ActiveDirectoryRole 相關聯之 Windows NT 帳戶的一般清單。

GetManager()

傳回 Active Directory 角色,其中包含目前的 ActiveDirectoryRole 管理員的相關資訊。

GetManagerialChain()

傳回 Active Directory 角色,其中包含與目前 ActiveDirectoryRole 相關聯之管理鏈結的資訊。

GetPeers()

傳回 Active Directory 角色,其中包含所有目錄作業的相關資訊,而這些目錄作業則是由目前 ActiveDirectoryRole 的管理員所監督。

GetSecurityIdentifiers()

傳回與目前 SecurityIdentifier 相關聯之 ActiveDirectoryRole 物件的一般清單。

GetType()

取得目前執行個體的 Type

(繼承來源 Object)
IncludesIdentity(String)

傳回值,指出 ActiveDirectoryRole 是否包含指定的身分識別。

MemberwiseClone()

建立目前 Object 的淺層複製。

(繼承來源 Object)
ToString()

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

(繼承來源 Object)

明確介面實作

IDisposable.Dispose()

釋放 ActiveDirectoryRole 所使用的所有資源。

ISerializable.GetObjectData(SerializationInfo, StreamingContext)

將序列化目標物件的所需資料填入 SerializationInfo

適用於

另請參閱