General developer forum

Calling core_enrol_get_enrolled_users Using REST API

 
Picture of Michael Spall
Re: Calling core_enrol_get_enrolled_users Using REST API
Group Core developersGroup Testers

Abhijeet Nipane,


You are missing &courseid=int, where int is the id of the course you want the enrolled users of. The function core_user_get_users could work as well, depending on what information you have about the users.

 
Average of ratings: -