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
context
Type: Microsoft.SharePoint.WorkflowActions.WorkflowContextA WorkflowContext object that represents the workflow context.
fvalue
Type: System.ObjectA 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.