Click or drag to resize

UserGroupSelectionServices Class


Provides the ability to retrieve a collection of users and groups.
Inheritance Hierarchy
SystemObject
  CMSServicesBase
    CMSContentServiceBase
      IngeniuxCMServiceUserGroupSelectionServices

Namespace:  IngeniuxCMService
Assembly:  IngeniuxCMService (in IngeniuxCMService.dll) Version: 10.5.94
Syntax
[ServiceBehaviorAttribute(IncludeExceptionDetailInFaults = true)]
[AspNetCompatibilityRequirementsAttribute(RequirementsMode = AspNetCompatibilityRequirementsMode.Allowed)]
public class UserGroupSelectionServices : CMSContentServiceBase

The UserGroupSelectionServices type exposes the following members.

Constructors
  NameDescription
Public methodUserGroupSelectionServices
Initializes a new instance of the UserGroupSelectionServices class
Top
Methods
  NameDescription
Public methodGetUserGroupsForPages

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 methodGetUserGroupsForWorkflowAdd
Retrieves the collection of Users or User Groups available to assign the Page to, when Page is added to Workflow.
Public methodGetUsersAndGroups
Retrieves collection of Users and UserGroups.
Top
See Also