Share via


Helper.HTLookupUser method

Gets the login name of the user in the specified hash table.

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

Syntax

'Declaration
Public Shared Function HTLookupUser ( _
    context As WorkflowContext, _
    collection As Hashtable, _
    fieldName As String _
) As String
'Usage
Dim context As WorkflowContext
Dim collection As Hashtable
Dim fieldName As String
Dim returnValue As String

returnValue = Helper.HTLookupUser(context, _
    collection, fieldName)
public static string HTLookupUser(
    WorkflowContext context,
    Hashtable collection,
    string fieldName
)

Parameters

  • fieldName
    Type: System.String

    The name of the field to look up in collection.

Return value

Type: System.String
The user login name.

Remarks

This method returns null if the user login name cannot be found in collection.

See also

Reference

Helper class

Helper members

Microsoft.SharePoint.WorkflowActions namespace