ActiveDirectoryRoleFactory.CreateFromAlias(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.