ActiveDirectoryRoleFactory 类

定义

注意

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

一个工厂类,用于从 Windows NT 别名、电子邮件地址和安全标识符 (SID) 创建 ActiveDirectoryRole 对象。A factory class for creating ActiveDirectoryRole objects from Windows NT aliases, email addresses, and security identifiers (SIDs).

public ref class ActiveDirectoryRoleFactory abstract sealed
public static class ActiveDirectoryRoleFactory
[System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public static class ActiveDirectoryRoleFactory
type ActiveDirectoryRoleFactory = class
[<System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")>]
type ActiveDirectoryRoleFactory = class
Public Class ActiveDirectoryRoleFactory
继承
ActiveDirectoryRoleFactory
属性

注解

备注

本材料讨论的类型和命名空间已废弃不用。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.

ActiveDirectoryRoleFactory 中的所有方法都是静态方法,不需要创建实例。All methods in ActiveDirectoryRoleFactory are static and no instance needs to be created. 构造函数被隐藏。The constructor is hidden.

属性

Configuration

获取与 ActiveDirectoryRoleFactoryConfiguration 关联的 ActiveDirectoryRoleFactory 对象。Gets the ActiveDirectoryRoleFactoryConfiguration object that is associated with the ActiveDirectoryRoleFactory.

方法

CreateFromAlias(String)

使用指定的 Windows NT 别名创建 ActiveDirectoryRole 的实例。Creates an instance of ActiveDirectoryRole using the specified Windows NT alias.

CreateFromEmailAddress(String)

使用电子邮件地址创建 ActiveDirectoryRole 实例。Creates an instance of ActiveDirectoryRole using an email address.

CreateFromSecurityIdentifier(SecurityIdentifier)

使用 Windows NT ActiveDirectoryRole 创建 SecurityIdentifier 的实例。Creates an instance of ActiveDirectoryRole using a Windows NT SecurityIdentifier.

适用于