ActiveDirectoryRole ActiveDirectoryRole ActiveDirectoryRole ActiveDirectoryRole Class

定義

警告

此 API 現已淘汰。

表示 Windows Workflow Foundation 主控環境中的 Active Directory 角色。Represents an Active Directory role in a Windows Workflow Foundation hosting environment. 這個類別無法被繼承。This class cannot be inherited.

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

備註

注意

此資料討論已被汰換的類型及命名空間。This material discusses types and namespaces that are obsolete. 如需詳細資訊,請參閱 Windows Workflow Foundation 4.5 中即將淘汰的類型For more information, see Deprecated Types in Windows Workflow Foundation 4.5.

一般來說,Active Directory 存放區是用來儲存人員的組織資訊。Typically, the Active Directory store is used for storing organizational information for personnel. ActiveDirectoryRole 的主要用途是要針對商業用途,查詢這類組織資訊。The main purpose for the ActiveDirectoryRole is for making queries against such organizational information for business reasons.

Active Directory 角色一般會對應至組織環境中的工作職責、職稱或工作技能。Active Directory roles typically correspond to a job function, title, or job skill within the context of the organization.

屬性

Name Name Name Name

取得或設定 Active Directory 角色名稱。Gets or sets the Active Directory role name.

RootEntry RootEntry RootEntry RootEntry

取得與 ActiveDirectoryRole 相關聯的根 Active Directory 節點。Gets the root Active Directory node associated with the ActiveDirectoryRole.

方法

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

判斷指定的物件是否等於目前的物件。Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetAllReports() GetAllReports() GetAllReports() GetAllReports()

傳回 ActiveDirectoryRole,其中包含直接或間接報告給目前角色的所有角色。Returns an ActiveDirectoryRole that contains all the roles that report to the current role either directly or indirectly.

GetDirectReports() GetDirectReports() GetDirectReports() GetDirectReports()

傳回 ActiveDirectoryRole,其中包含直接報告給目前角色的所有角色。Returns an ActiveDirectoryRole that contains all the roles that report directly to the current role.

GetEntries() GetEntries() GetEntries() GetEntries()

傳回一般集合,其中包含與目前 DirectoryEntry 相關聯的所有 ActiveDirectoryRole 物件。Returns the generic collection that contains all DirectoryEntry objects associated with the current ActiveDirectoryRole.

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

做為預設雜湊函式。Serves as the default hash function.

(Inherited from Object)
GetIdentities() GetIdentities() GetIdentities() GetIdentities()

取得與 ActiveDirectoryRole 相關聯之 Windows NT 帳戶的一般清單。Gets a generic list of the Windows NT accounts associated with the ActiveDirectoryRole.

GetManager() GetManager() GetManager() GetManager()

傳回 Active Directory 角色,其中包含目前的 ActiveDirectoryRole 管理員的相關資訊。Returns an Active Directory role that contains information about the manager of the current ActiveDirectoryRole.

GetManagerialChain() GetManagerialChain() GetManagerialChain() GetManagerialChain()

傳回 Active Directory 角色,其中包含與目前 ActiveDirectoryRole 相關聯之管理鏈結的資訊。Returns the Active Directory role that contains information about the managerial chain associated with the current ActiveDirectoryRole.

GetPeers() GetPeers() GetPeers() GetPeers()

傳回 Active Directory 角色,其中包含所有目錄作業的相關資訊,而這些目錄作業則是由目前 ActiveDirectoryRole 的管理員所監督。Returns an Active Directory role that contains information about all the directory operations that are supervised by the manager of the current ActiveDirectoryRole.

GetSecurityIdentifiers() GetSecurityIdentifiers() GetSecurityIdentifiers() GetSecurityIdentifiers()

傳回與目前 SecurityIdentifier 相關聯之 ActiveDirectoryRole 物件的一般清單。Returns a generic list of SecurityIdentifier objects associated with the current ActiveDirectoryRole.

GetType() GetType() GetType() GetType()

取得目前執行個體的 TypeGets the Type of the current instance.

(Inherited from Object)
IncludesIdentity(String) IncludesIdentity(String) IncludesIdentity(String) IncludesIdentity(String)

傳回值,指出 ActiveDirectoryRole 是否包含指定的身分識別。Returns a value that indicates whether the ActiveDirectoryRole contains the specified identity.

MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

建立目前 Object 的淺層複本 (Shallow Copy)。Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

傳回代表目前物件的字串。Returns a string that represents the current object.

(Inherited from Object)

明確介面實作

IDisposable.Dispose() IDisposable.Dispose() IDisposable.Dispose() IDisposable.Dispose()

釋放 ActiveDirectoryRole 所使用的所有資源。Releases all resources used by the ActiveDirectoryRole.

ISerializable.GetObjectData(SerializationInfo, StreamingContext) ISerializable.GetObjectData(SerializationInfo, StreamingContext) ISerializable.GetObjectData(SerializationInfo, StreamingContext) ISerializable.GetObjectData(SerializationInfo, StreamingContext)

將序列化目標物件的所需資料填入 SerializationInfoPopulates a SerializationInfo with the data required to serialize the target object.

適用於

另請參閱