UserProfileHelper.GetUserProfileDouble(WorkflowContext, String, String, String) Method

Definition

Gets a user profile as double type.

public:
 static double GetUserProfileDouble(Microsoft::SharePoint::WorkflowActions::WorkflowContext ^ context, System::String ^ schemaName, System::String ^ propertyName, System::String ^ user);
public static double GetUserProfileDouble (Microsoft.SharePoint.WorkflowActions.WorkflowContext context, string schemaName, string propertyName, string user);
static member GetUserProfileDouble : Microsoft.SharePoint.WorkflowActions.WorkflowContext * string * string * string -> double
Public Shared Function GetUserProfileDouble (context As WorkflowContext, schemaName As String, propertyName As String, user As String) As Double

Parameters

context
WorkflowContext

A workflow context of the activity that is currently being executed.

schemaName
String

A string value that represents the name of the schema describing a user profile.

propertyName
String

A string value that represents the name of property in a user profile.

user
String

A string value that represents a user of SharePoint.

Returns

Double

A double value of the user profile corresponding to the given user and the given property.

Applies to