Click or drag to resize
WorkflowUserInfoProviderAddUserToWorkflow Method

Note: This API is now obsolete.

Adds specified user to the workflow.

Namespace: CMS.WorkflowEngine
Assembly: CMS.WorkflowEngine (in CMS.WorkflowEngine.dll) Version: 13.0.131
Syntax
C#
[ObsoleteAttribute("Use IWorkflowUserInfoProvider.Add(int, int) instead. To get an instance of the interface's implementation, use dependency injection or access the instance directly - WorkflowUserInfo.Provider.")]
public static void AddUserToWorkflow(
	int workflowId,
	int userId
)

Parameters

workflowId
Type: SystemInt32
Workflow ID
userId
Type: SystemInt32
User ID
See Also