語言

ActiveDirectoryRole 類別

定義

警告

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

代表 Windows 工作流程基金會主機環境中的 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
屬性
實作

備註

Note

此數據會討論已過時的類型和命名空間。 欲了解更多資訊,請參閱 Windows Workflow Foundation 4.5 中的 Deprecated Types。

通常,Active Directory 儲存庫用於儲存人員的組織資訊。 其主要目的 ActiveDirectoryRole 是針對這些組織資訊進行商業查詢。

Active Directory 角色通常對應組織內的工作職能、職稱或技能。

屬性

名稱 Description
Name
已淘汰.

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

RootEntry
已淘汰.

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

方法

名稱 Description
Equals(Object)
已淘汰.

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

(繼承來源 Object)
GetAllReports()
已淘汰.

回傳 和 ActiveDirectoryRole ,包含所有直接或間接向目前職務報告的角色。

GetDirectReports()
已淘汰.

回傳 和 ActiveDirectoryRole ,包含所有直接向當前角色報告的角色。

GetEntries()
已淘汰.

回傳包含所有 DirectoryEntry 與當前 ActiveDirectoryRole物件相關的通用集合。

GetHashCode()
已淘汰.

做為預設哈希函式。

(繼承來源 Object)
GetIdentities()
已淘汰.

會獲得與ActiveDirectoryRole相關聯的 Windows NT 帳戶的通用清單。

GetManager()
已淘汰.

回傳一個包含當前 ActiveDirectoryRole 管理者資訊的 Active Directory 角色。

GetManagerialChain()
已淘汰.

回傳包含與目前 ActiveDirectoryRole 相關管理鏈資訊的 Active Directory 角色。

GetPeers()
已淘汰.

回傳一個Active Directory角色,包含目前ActiveDirectoryRole管理者監督的所有目錄操作資訊。

GetSecurityIdentifiers()
已淘汰.

回傳 SecurityIdentifier 與當前 ActiveDirectoryRole。

GetType()
已淘汰.

取得目前實例的 Type。

(繼承來源 Object)
IncludesIdentity(String)
已淘汰.

回傳一個值,表示是否 ActiveDirectoryRole 包含指定的單位元。

MemberwiseClone()
已淘汰.

建立目前 Object的淺層複本。

(繼承來源 Object)
ToString()
已淘汰.

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

(繼承來源 Object)

明確介面實作

名稱 Description
IDisposable.Dispose()
已淘汰.

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

ISerializable.GetObjectData(SerializationInfo, StreamingContext)
已淘汰.

將序列化目標物件所需的資料填充 a SerializationInfo 。

適用於

另請參閱