AnsweredAssumed Answered

How do I find what group(s) a user is associated with?  Inconsistent API...

Question asked by David Morton on Jun 26, 2018
Latest reply on Nov 28, 2018 by David Morton

I need to determine what group(s) a user is associated with. 


 I found the variable substitution link:  <!-- - Canvas LMS REST API Documentation which has:



returns the Canvas ids of all active groups in the current course.

Availability: when launched in a course
Launch Parameter: com_instructure_course_groupids


returns the context ids for the groups the user belongs to in the course.

Availability: always




These appear to not be the same type of thing!   One would think the second would be a subset of the first!   How can I associate these?  More importantly, how can I find the "Canvas id of the group the user belongs to in the course".