Click or drag to resize
WorkflowManagerGetUsersWhoCanApprove Method (TreeNode, SourcePoint, String, String, Int32, String)
Returns list of users who can approve node in the current workflow step. Users who are approved due to generic roles are not included to the result.

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 8.2.23
Syntax
C#
public InfoDataSet<UserInfo> GetUsersWhoCanApprove(
	TreeNode node,
	SourcePoint sourcePoint,
	string where = null,
	string orderBy = null,
	int topN = 0,
	string columns = null
)

Parameters

node
Type: CMS.DocumentEngineTreeNode
Document node
sourcePoint
Type: CMS.WorkflowEngine.DefinitionsSourcePoint
Step source point (for steps with multiple outgoing transitions)
where (Optional)
Type: SystemString
Where condition
orderBy (Optional)
Type: SystemString
Order by clause
topN (Optional)
Type: SystemInt32
Top N items
columns (Optional)
Type: SystemString
List of columns to return

Return Value

Type: InfoDataSetUserInfo
See Also