AbstractAutomationManager InfoType  GetUsersWhoCanMove Method (InfoType, AutomationStateInfo, SourcePoint, Boolean, Boolean, Boolean)Kentico 8.0 API Reference
Returns list of all the users who can move object to the next step.

Namespace: CMS.Automation
Assembly: CMS.Automation (in CMS.Automation.dll) Version: 8.0.0.0 (8.0.5239.26125)

Parameters

infoObj
Type: InfoType
Object instance
stateObj
Type: CMS.Automation AutomationStateInfo
State object
sourcePoint
Type: CMS.WorkflowEngine.Definitions SourcePoint
Step source point (for steps with multiple outgoing transitions)
assigned
Type: OnlineSystem Boolean
Indicates if users assigned to the workflow steps should be get. Users in the generic roles are not included
managers
Type: OnlineSystem Boolean
Indicates if users who have the manage workflow permission should be get
administrators
Type: OnlineSystem Boolean
Indicates if users who are global administrators should be get

Return Value

Type: InfoDataSet UserInfo 
Returns defined role users, Global administrators and users who have the Manage processes permission for the object
See Also