Helper.UserIDAsNumber Method
Returns the user ID as a Double 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 UserIDAsNumber ( _
context As WorkflowContext, _
val As Object _
) As Double
'Usage
Dim context As WorkflowContext
Dim val As Object
Dim returnValue As Double
returnValue = Helper.UserIDAsNumber(context, _
val)
public static double UserIDAsNumber(
WorkflowContext context,
Object val
)
Parameters
context
Type: Microsoft.SharePoint.WorkflowActions.WorkflowContextA WorkflowContext object that contains properties that are associated with the active workflow instance.
val
Type: System.ObjectA Object.
Return Value
Type: System.Double
The double-precision floating-point value of the user ID.