Partilhar via


Helper.ResolveToUserName Method

Retrieves the user name of a SharePoint Foundation user when the e-mail address is supplied.

Namespace:  Microsoft.SharePoint.WorkflowActions
Assembly:  Microsoft.SharePoint.WorkflowActions (in Microsoft.SharePoint.WorkflowActions.dll)

Syntax

'Declaration
Public Shared Function ResolveToUserName ( _
    context As WorkflowContext, _
    emailAddress As String _
) As String
'Usage
Dim context As WorkflowContext
Dim emailAddress As String
Dim returnValue As String

returnValue = Helper.ResolveToUserName(context, _
    emailAddress)
public static string ResolveToUserName(
    WorkflowContext context,
    string emailAddress
)

Parameters

  • emailAddress
    Type: System.String

    An e-mail address of a specified user.

Return Value

Type: System.String
The logon name of the user with the specified e-mail address.

See Also

Reference

Helper Class

Helper Members

Microsoft.SharePoint.WorkflowActions Namespace