scele people¶
List the people enrolled in a course.
people lists everyone enrolled in a course together with their roles (students,
teachers, non-editing teachers, and so on).
It is the command to reach for when you need a person's user id (to read their forum posts) or simply want to know who is teaching a section.
Usage¶
Arguments¶
| Argument | Required |
|---|---|
course_id |
yes |
Example¶
Output¶

Returns:
Person
| Field | Type |
|---|---|
id |
string |
name |
string |
roles |
string[] |
email |
string |
groups |
string[] |
Notes¶
- Large courses return large lists; pipe through
jq 'map(select(.roles | index("Teacher")))'to keep just the staff. - Some courses restrict the participants list. If SCELE refuses, you get
request_failedwith Moodle's own message.