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
context
Type: Microsoft.SharePoint.WorkflowActions.WorkflowContextA workflow context that contains properties that are associated with the active workflow instance.
collection
Type: System.Collections.HashtableThe hash table to search.
fieldName
Type: System.StringThe 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.