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.50 中的 Deprecated Types。

通常,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()
已过时.

返回包含与当前 ActiveDirectoryRole 关联的管理链的信息的Active Directory角色。

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 序列化目标对象所需的数据填充数据。

适用于

另请参阅