ActiveDirectoryRoleFactory.CreateFromAlias(String) Method

Definition

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

public:
 static System::Workflow::Activities::ActiveDirectoryRole ^ CreateFromAlias(System::String ^ alias);
public static System.Workflow.Activities.ActiveDirectoryRole CreateFromAlias (string alias);
static member CreateFromAlias : string -> System.Workflow.Activities.ActiveDirectoryRole
Public Shared Function CreateFromAlias (alias As String) As ActiveDirectoryRole

Parameters

alias
String

The alias string to create the ActiveDirectoryRole.

Returns

An instance of ActiveDirectoryRole that describes the specified Windows NT alias.

Remarks

ActiveDirectoryRole is a concrete implementation of the WorkflowRole abstract class that is used to access Active Directory functionality. Typically, the Active Directory store is used for storing organizational information for personnel. The main purpose for the ActiveDirectoryRole is for making queries against such organizational information for business reasons.

Applies to