UserGroupSelectionServices Methods Ingeniux CMS Web Services API

The UserGroupSelectionServices type exposes the following members.

Methods

  Name Description
Public method GetUserGroupsForPages

Retrieves the collection of Users or User Groups based on the given Pages and Transition

This operations is mainly used for retrieving the list of Users or Group for Page assignment, inside or outside of Workflow transition.

For User Groups retrieval scenario:

If Page is not in Workflow, it can be assigned to any User Groups, therefore all User Groups are returned.

If Page is in Workflow, and the assignment is happening through Transition (trantionId provided), then the Transition's Target Group is returned.

If Page is in Workflow, and the assignment is not through Transition (transitionId not provided), then the Current Group of the Workflow State is returned.

For Users retrieval scenario:

If Page is not in Workflow, it can be assigned to any Users, therefore all Users are returned.

If Page is in Workflow, and the assignment is happening through Transition (transitionId provided), then the Users that belong to the Transition's Target Group are returned.

If Page is in Workflow, and the assignment is not through Transition (transitionId not provided), then the Users that belong to the Current Group of the Workflow State are returned.

The result is combination of all Users/Users Groups each Page allows.

Public method GetUserGroupsForWorkflowAdd
Retrieves the collection of Users or User Groups available to assign the Page to, when Page is added to Workflow.
Public method GetUsersAndGroups
Retrieves collection of Users and UserGroups.
Top
See Also

Reference