官术网_书友最值得收藏!

Cohorts

Cohorts are category, site-wide, or global groups that are used to logically cluster related users. We have already come across cohorts in Chapter 4, Course Management, when we dealt with enrolments to courses. Now, we are going to have a closer look at how to create and manage cohorts. To do this, navigate to Users | Accounts | Cohorts.

The details of each cohort, as displayed, and its actions (hide, delete, edit and assign) are provided. In the All cohorts tab, an almost identical view is provided, displaying system as well as category cohorts.

To create a cohort, select Add new cohort tab. A cohort comprises Name, Context, and Cohort ID whether the context is Visible and an optional Description. Here, the context is equal to the course category in which the cohort can be used. The Cohort ID is optional, but it is a good practice to set this as it will be used in a number of operations, for example, when adding users in bulk.

Once you have added the cohort, you will return to the list of all the cohorts. Now, you should add members to it by selecting the assign icon in the list of cohorts. This will display the familiar user selection screen.

Instead of adding cohorts manually, you have the ability to perform this task in a batch via the Upload cohorts link. The principle is the same as adding users in the batch mode, as described in the previous section. Here is a sample file representing the cohorts used earlier:

name, contextid, idnumber, description, visible
7a, 7a, All students from class 7a, 1
7b, 7b, All students from class 7b, 1
7c, 7c, All students from class 7c, 1
Temp, temp, Used as a placeholder, 0

You can find details on uploading cohorts, including all the optional and additional fields, at https://docs.moodle.org/en/Upload_cohorts.

主站蜘蛛池模板: 博客| 香港 | 天台县| 丰镇市| 边坝县| 海淀区| 虹口区| 磐石市| 长治市| 门源| 天祝| 淮阳县| 正宁县| 毕节市| 永兴县| 舞钢市| 泰宁县| 台南县| 龙门县| 桦甸市| 万山特区| 宣恩县| 迁安市| 广元市| 敖汉旗| 南召县| 阿拉尔市| 杭锦旗| 芜湖市| 瓮安县| 神木县| 巴彦县| 会泽县| 武穴市| 灵川县| 平昌县| 雷山县| 古蔺县| 瑞昌市| 南阳市| 阿拉善右旗|