Share via


Helper.LoginNameAsText method

Gets the user login name based on the specified user login name.

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

Syntax

'Declaration
Public Shared Function LoginNameAsText ( _
    context As WorkflowContext, _
    val As Object _
) As String
'Usage
Dim context As WorkflowContext
Dim val As Object
Dim returnValue As String

returnValue = Helper.LoginNameAsText(context, _
    val)
public static string LoginNameAsText(
    WorkflowContext context,
    Object val
)

Parameters

Return value

Type: System.String
The user login name or an empty string if val is null .

Remarks

This method retrieves and returns the user login name based on the specified user login name.

See also

Reference

Helper class

Helper members

Microsoft.SharePoint.WorkflowActions namespace