Partilhar via


Helper.UserIDAsText Method

Returns the user ID as a String when provided the user’s login name.

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

Syntax

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

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

Parameters

Return Value

Type: System.String
The user ID.

See Also

Reference

Helper Class

Helper Members

Microsoft.SharePoint.WorkflowActions Namespace