Partilhar via


Helper.UserIDAsInteger Method

Returns the user ID when provided user’s login name.

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

Syntax

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

returnValue = Helper.UserIDAsInteger(context, _
    val)
public static int UserIDAsInteger(
    WorkflowContext context,
    Object val
)

Parameters

Return Value

Type: System.Int32
The user ID.

See Also

Reference

Helper Class

Helper Members

Microsoft.SharePoint.WorkflowActions Namespace