語言

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

備註

Note

此數據會討論已過時的類型和命名空間。 欲了解更多資訊,請參閱 Windows Workflow Foundation 4.5 中的 Deprecated Types。

所有方法都是 ActiveDirectoryRoleFactory 靜態的,不需要建立實例。 建造者被隱藏起來了。

屬性

名稱 Description
Configuration
已淘汰.

取得 ActiveDirectoryRoleFactoryConfiguration 與 ActiveDirectoryRoleFactory相關聯的物件。

方法

名稱 Description
CreateFromAlias(String)
已淘汰.

使用指定的 Windows NT 別名建立一個 ActiveDirectoryRole 實例。

CreateFromEmailAddress(String)
已淘汰.

建立一個使用電子郵件地址的實例 ActiveDirectoryRole 。

CreateFromSecurityIdentifier(SecurityIdentifier)
已淘汰.

使用Windows NT ActiveDirectoryRole 建立一個 SecurityIdentifier 實例。

適用於