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 的浅表副本。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.

适用于

另请参阅