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
context
Type: Microsoft.SharePoint.WorkflowActions.WorkflowContextA workflow context that contains properties that are associated with the active workflow instance.
val
Type: System.ObjectThe user login name.
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.