tool:sync:files:groups
Table des matières
Group and grouping synchronisation file
Synchronisation by CSV file
Group creation file format
| Field | Value | Default |
|---|---|---|
| courseid(*) | primary identifier of the course | |
| name(*) | group name | - |
| idnumber | String | - |
| groupid | group id (in case of modification)1 | - |
| selfgrouping | 0 or 1 | If 1, creates a grouping with the same name as the group |
| grouping | int | Grouping Id |
| description | String | - |
- (*) Mandatory fields
- (1) According to the tool setting. If the group identifier is not qualified enough, then the
courseidvalue is combined with it. Thegroupidcolumn is only to be used when renaming groups. This identifier takes precedence over the mandatorycourseid/namecombination.
Group population file format
| Field | Value | Default |
|---|---|---|
| groupid(*) | primary identifier of the course1 | |
| userid(*) | user identifier2 | - |
| courseid | Course identifier (according to the general setting of the course tool3 | - |
| cmd | 'add', 'shift', 'del' | 'add' |
- (*) Mandatory fields
- (1) According to the tool setting
- (2) According to the tool setting
- (3) This column is needed when the primary identifier of the group is its name, because the name is not a fully qualified identifier. Several groups can have the same local name across different courses.
tool/sync/files/groups.txt · Dernière modification : de 127.0.0.1
