Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Retrieves the display name of a user that is contained in a SharePoint Foundation user field.
Namespace: Microsoft.SharePoint.WorkflowActions
Assembly: Microsoft.SharePoint.WorkflowActions (in Microsoft.SharePoint.WorkflowActions.dll)
Syntax
'Declaration
Public Shared Function ResolveToDisplayName ( _
context As WorkflowContext, _
userNameObj As Object _
) As String
'Usage
Dim context As WorkflowContext
Dim userNameObj As Object
Dim returnValue As String
returnValue = Helper.ResolveToDisplayName(context, _
userNameObj)
public static string ResolveToDisplayName(
WorkflowContext context,
Object userNameObj
)
Parameters
context
Type: Microsoft.SharePoint.WorkflowActions.WorkflowContextWorkflowContext object that contains properties that are associated with the active workflow instance.
userNameObj
Type: System.ObjectAn object that represents the value of a SPFieldType.User field.
Return Value
Type: System.String
The display name of the user.