Anyone have ideas for how you could see which (people) groups in a course a student belongs to?
I don't see an API endpoint to do that directly, but perhaps you could get all the groups in the course and search each one for the student?
Jaap Stelpstra created a useful macro-enabled Excel workbook that uses the API to pull all the group information from a course into one area for easier viewing. You could then search for the student's name in Excel to quickly find all the groups they are in.
The workbook, and instructions on how to use it, can be found in this document created by Jaap. Automated report of group sets, groups and members in a course.
When I emulate a student and view other students' profiles, some of those profiles include the group membership in the Enrollments section like the third bullet here::
But most do not. How can I make display of the group membership a default for all profiles?
It might be because the course has the people section hidden for the student.
Retrieving data ...