Click or drag to resize
WorkflowStepInfoProviderCanUserApprove Method (UserInfo, WorkflowStepInfo, SourcePoint, Int32)
Returns true if given user can approve or reject given step.

Namespace: CMS.WorkflowEngine
Assembly: CMS.WorkflowEngine (in CMS.WorkflowEngine.dll) Version: 12.0.0
Syntax
C#
public static bool CanUserApprove(
	UserInfo user,
	WorkflowStepInfo step,
	SourcePoint sourcePoint,
	int siteId
)

Parameters

user
Type: CMS.MembershipUserInfo
User
step
Type: CMS.WorkflowEngineWorkflowStepInfo
Workflow step
sourcePoint
Type: CMS.WorkflowEngine.DefinitionsSourcePoint
Step source point (for steps with multiple outgoing transitions)
siteId
Type: SystemInt32
Site ID

Return Value

Type: Boolean
See Also