Note: You are currently viewing documentation for Moodle 3.0. Up-to-date documentation for the latest stable version of Moodle may be available here: Cohorts.

Cohorts: Difference between revisions

From MoodleDocs
(Adding users to a cohort in bulk (2.2 feature))
(Uploading users to a cohort, blog entry link)
Line 24: Line 24:
#Choose 'Add to cohort' with selected users
#Choose 'Add to cohort' with selected users


==Uploading cohorts via CSV==
==Uploading users to a cohort==
*This feature is planned to be included in 2.2 - see MDL-26965.
 
{{Moodle 2.2}}An administrator can upload users via CSV file to existing cohorts as follows:
#Access ''Settings > Site administration > Users > Accounts > Upload users''
#Upload a text file with the following format:
 
username,password,firstname,lastname,email, cohort1
tomjones,Pass1234*,Tom,Jones,tomjones@example.com, year3
marysmith,Pass1234*,Mary,Smith,marysmith@example.com, year4
 
where year3 and year4 are the cohort ids of existing cohorts.


==See also==
==See also==
*[http://www.youtube.com/watch?v=FMWZW_n0eVI A three minute Cohort in Moodle 2.0 video]
*[http://www.youtube.com/watch?v=FMWZW_n0eVI A three minute Cohort in Moodle 2.0 video]
*[http://www.youtube.com/watch?v=dMqaeOGXuHQ Cohorts in Moodle 2.0 video]
*[http://www.youtube.com/watch?v=dMqaeOGXuHQ Cohorts in Moodle 2.0 video]
*[http://www.somerandomthoughts.com/blog/2011/11/22/using-cohorts-with-moodle-2-2/ Using cohorts with Moodle 2.2] blog entry by Gavin Henrick


[[Category:Site administration]]
[[Category:Site administration]]

Revision as of 19:00, 22 November 2011

Cohorts, or site-wide groups, enable all members of a cohort to be enrolled in a course in one action, either manually or synchronised automatically.

Creating a cohort

Cohorts can be created by site administrators and other users with appropriate permissions.

  • Access Settings > Site administration > Users > Accounts > Cohorts

File:Createcohort.png

  • Click the Add button
  • NOTE In the dropdown you can choose between making your cohort available throughout the site "system" or in a named category.
  • Complete the details and save the changes.
  • Follow the assign link opposite the cohort name in the list of available cohorts.

Assigncohort.png

  • Select potential users from the list then click the Add button.

To synchronise cohort members with course participants, the Cohort sync enrolment plugin should be enabled in Settings > Site administration > Plugins > Enrolments > Manage enrol plugins.

Adding users to a cohort in bulk

Template:Moodle 2.2#Access Settings > Site administration > Users > Accounts > Bulk user actions

  1. Find users by setting an appropriate filter
  2. Add users from the available list to the selected list
  3. Choose 'Add to cohort' with selected users

Uploading users to a cohort

Template:Moodle 2.2An administrator can upload users via CSV file to existing cohorts as follows:

  1. Access Settings > Site administration > Users > Accounts > Upload users
  2. Upload a text file with the following format:
username,password,firstname,lastname,email, cohort1
tomjones,Pass1234*,Tom,Jones,tomjones@example.com, year3
marysmith,Pass1234*,Mary,Smith,marysmith@example.com, year4

where year3 and year4 are the cohort ids of existing cohorts.

See also