แก้ไข

แชร์ผ่าน


ActiveDirectoryRoleFactory Class

Definition

Caution

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

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
Inheritance
ActiveDirectoryRoleFactory
Attributes

Remarks

Note

This material discusses types and namespaces that are obsolete. For more information, see Deprecated Types in Windows Workflow Foundation 4.5.

All methods in ActiveDirectoryRoleFactory are static and no instance needs to be created. The constructor is hidden.

Properties

Configuration

Gets the ActiveDirectoryRoleFactoryConfiguration object that is associated with the ActiveDirectoryRoleFactory.

Methods

CreateFromAlias(String)

Creates an instance of ActiveDirectoryRole using the specified Windows NT alias.

CreateFromEmailAddress(String)

Creates an instance of ActiveDirectoryRole using an email address.

CreateFromSecurityIdentifier(SecurityIdentifier)

Creates an instance of ActiveDirectoryRole using a Windows NT SecurityIdentifier.

Applies to