ActiveDirectoryRoleFactory.CreateFromEmailAddress(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 an email address.
public:
static System::Workflow::Activities::ActiveDirectoryRole ^ CreateFromEmailAddress(System::String ^ emailAddress);
public static System.Workflow.Activities.ActiveDirectoryRole CreateFromEmailAddress (string emailAddress);
static member CreateFromEmailAddress : string -> System.Workflow.Activities.ActiveDirectoryRole
Public Shared Function CreateFromEmailAddress (emailAddress As String) As ActiveDirectoryRole
Parameters
- emailAddress
- String
The email address string from which to create the ActiveDirectoryRole.
Returns
An instance of ActiveDirectoryRole that describes the specified email address.
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.