skip to primary navigationskip to content

Department of Computer Science and Technology

How to use Moodle

 

Add users to Moodle groups

Moodle Groups are a way of grouping together different sets of users. You can then use groups within the Moodle course, such as restricting content to specific groups, letting Teachers filter the gradebook by group members, and configuring email notifications for Teachers when a student from their group submits an assignment.

Groups are defined within a Moodle course, and cannot be re-used across courses. You can however create groups and add users by importing from an external CSV file.

Create groups in a Moodle course

  1. In the Moodle course, click the Participants tab, and from the drop down menu, select "Groups".
  2. To create a new group, do one of the following:
    • click Create Group to manually enter each group name.
    • click Auto-create Groups to create multiple groups that follow a regular naming pattern (e.g. group 1, group 2 etc). You can also choose to add users to these groups at the same time.
    • click Import Groups to upload a CSV file containing a list of group names.

Add users manually into groups

  1. In the Moodle course, click the Participants tab, and from the drop down menu, select "Groups".
  2. Select the group name in the left-hand panel, and click Add/Remove users.
  3. Under the right-hand panel of potential members, search for the CRSID of the user you want to add to the group. Then select their name and click Add.

Add users automatically into groups from a CSV file

To add users automatically into groups, you can upload a CSV file to Moodle which contains the user CRSIDs and which group they should be added to. The groups don't have to exist in Moodle already.

  1. Create a CSV file where the first column is a list of the usernames (CRSIDs), and the second column is their group. Do not include any column headers.
  2. In the Moodle course, click the Participants tab, and from the drop down menu, select "CSV group enrol".
  3. Select the following options:
    • User field: Username
    • Role: No enrolments (this assumes that everyone in the CSV file is already enrolled on the course)
    • Assign to groups: Yes
    • Use group: Use file data
    • Create groups: No (if the groups already exist in Moodle then select No, otherwise select Yes to automatically create groups and add users to them)
  4. Upload the CSV file and import the data.

Let users add themselves into groups

To let users add themselves to groups, you can use the Moodle activity Group Choice to present a list of groups to users. They then select which group they want to add themselves to.

  1. In the Moodle course, create the groups.
  2. From the Moodle course page, create a new activity and select Group Choice.
  3. Under Groups, select which groups you want users to be able to select to add themselves to.
  4. Populate the other settings as required.

See also