ELIS 2.0 Manual

Organizational User Sets

Creating Groups in Moodle Based on User Sets

Creating Groups in a Moodle Course Based on User Sets

1. Enable the following setting:
  • Program Management block > Admin > Configuration > User Set Group Settings section:
    • Allow course-level group population from User Sets: Enabling this setting allows the Program Management system to automatically add users to groups in Moodle courses based on User Set membership. Groups will be created when the first user from a user set is added to a Moodle course.
    • Note: Be cautious when enabling this setting, as it will cause the Curriculum Management system to immediately search for all appropriate users across all necessary user sets, which may take a long time.
2. Create:
  • A Moodle course. Moodle courses have a Groups section, groups will need to be enabled in the course for ELIS to create groups in the Moodle course.
  • An ELIS course linked to the Moodle course.
  • A program with the ELIS course.
  • A track from the program and auto-create the class of the track. The class is set to auto-enroll so users will be automatically enrolled in the class when they are assigned to the track.
3. Create a User Set Classification. Go to the Program Administration block > Admin > User Set Classifications and select the Add User Set classifications button. Enable "Autoenrol users in groups" and "Autoenrol users in groupings".

User Set classification

4. Create a user set. Assign the user set the new user set classification. Enable the "Associated" Group settings. Once the user set is created go to the Users tab and assign users to the user set.

Creating a user set enabling group settings

5. Assign the user set to the track. Go to the Tracks tab for the new user set and assign the track created above to the user set, enable auto-enroll.

6. The users are automatically enrolled in the ELIS class/Moodle course and a group has been created in the Moodle course based on the user set. The name of the group is the user set name and users of the user set have been assigned to the group.

User Set course group

Note: The user set must be associated to the class via a track for the group to be created/populated in the Moodle course.


For example, if there is a user set named "ACME Sales", then whenever users in that user set are enrolled in Moodle courses via ELIS tracks, first a group and grouping named ACME Sales is created in the Moodle course, and then all subsequent members of ACME Sales are placed in that group and grouping. This enables you to use Moodle's groups and groupings to hide/show activities to specific groups, separate forums into groups, see separate groups in the gradebook, etc.

Front Page Groups and Groupings:

Creating/populating front page groups based on user sets:

  1. Go to the Program Management block > Admin > Configuration and enable the "Allow front page group population from User Sets" setting.
  2. Create 3 users and assign them the system level Authenticated User or Guest role (assign system level roles on Settings block > Site Administration > Users > Permissions > Assign system roles). System level roles are needed because users can only be added to groups in contexts where they have at least some role assignment.
  3. Add a user set, select the checkboxes for settings "Enable Corresponding Group" and "Autoenrol users in groupings".
  4. On the User Set's Users tab add the 3 users to the user set.
  5. On the Project Management block > Admin > Front page groups, a group with the user set's name has been created and the users of the user set have been added to it.

Accessing front page groups and groupings:

When the settings are checked to create front page groups and groupings, links to the created groups are shown in the ELIS Admin menu:
Front page groups and groupings links
  1. This link goes to the list of front page groups.
  2. This link goes to the list of front page groupings.
Front page groups work like groups and groupings in Moodle courses, front page activities (such as forums) can be set to separate groups, etc. and also be hidden/shown to users based on groupings settings.

Example usage of Front Page Groups and Groupings to create a user sub-set specific News forum:

For example, the front page groups and groupings settings can be used to create news forums on the site which are only visible to users of specific user sets or user sub-sets (and site admins, who can see everything).

Creating a front page forum

When a site page activity is created and ELIS is set to create groups and groupings on the site home page from user sets, you can specify which group can view the activity.
Creating a group specific forum
  1. Create the site page forum as usual.
  2. Select the grouping in the "Grouping" drop-down, and check the "Available for group members only" setting.
Now the forum will only be visible for members of the ACME Division 2 user set (note that only user sets that have the settings checked to create groups as described below will be visible in the drop down).