ActiveDirectoryRoleFactory 類別

定義

警告

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

處理站類別,用於使用 Windows NT 別名、電子郵件地址和安全性識別碼 (SID) 建立 ActiveDirectoryRole 物件。

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
屬性

備註

注意

此資料討論已被汰換的類型及命名空間。 如需詳細資訊,請參閱 Windows Workflow Foundation 4.5 中即將淘汰的類型

ActiveDirectoryRoleFactory 中所有的方法為靜態,不需要建立任何執行個體。 建構函式為隱藏。

屬性

Configuration
已淘汰.

取得與 ActiveDirectoryRoleFactoryConfiguration 關聯的 ActiveDirectoryRoleFactory 物件。

方法

CreateFromAlias(String)
已淘汰.

使用指定的 Windows NT 別名,建立 ActiveDirectoryRole 的執行個體。

CreateFromEmailAddress(String)
已淘汰.

使用電子郵件地址建立 ActiveDirectoryRole 的執行個體。

CreateFromSecurityIdentifier(SecurityIdentifier)
已淘汰.

使用 Windows NT ActiveDirectoryRole 建立 SecurityIdentifier 的執行個體。

適用於