Partilhar via


Helper.ResolveUserField Method

Returns the login name of the specified user, a delimited list of login names of the specified list of users, or the specified string if it does not resolve to a login name or names.

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

Syntax

'Declaration
Public Shared Function ResolveUserField ( _
    context As WorkflowContext, _
    fvalue As Object _
) As String
'Usage
Dim context As WorkflowContext
Dim fvalue As Object
Dim returnValue As String

returnValue = Helper.ResolveUserField(context, _
    fvalue)
public static string ResolveUserField(
    WorkflowContext context,
    Object fvalue
)

Parameters

  • fvalue
    Type: System.Object

    A System.Object that represents an SPUser, a string that contains a user ID, or a delimited list of user names.

Return Value

Type: System.String
A string that contains the login name of the specified user or users, or the specified string if it does not resolve to a login name or names.

See Also

Reference

Helper Class

Helper Members

Microsoft.SharePoint.WorkflowActions Namespace