Partilhar via


Helper.WILookupUser Method (WorkflowContext, String, Int32, String)

Looks up and returns the value of the specified user field in the given workflow context. The results are filtered by the exclusions specified in ignorestr and ignoreint.

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

Syntax

'Declaration
Public Shared Function WILookupUser ( _
    context As WorkflowContext, _
    ignorestr As String, _
    ignoreint As Integer, _
    fieldName As String _
) As String
'Usage
Dim context As WorkflowContext
Dim ignorestr As String
Dim ignoreint As Integer
Dim fieldName As String
Dim returnValue As String

returnValue = Helper.WILookupUser(context, _
    ignorestr, ignoreint, fieldName)
public static string WILookupUser(
    WorkflowContext context,
    string ignorestr,
    int ignoreint,
    string fieldName
)

Parameters

  • fieldName
    Type: System.String

    A String value that represents the desired field value to return.

Return Value

Type: System.String
The name of the user.

See Also

Reference

Helper Class

Helper Members

WILookupUser Overload

Microsoft.SharePoint.WorkflowActions Namespace