This method DOES NOT return the user enrolment id.
I use core_enrol_get_users_courses to get a list of courses user A is in. Then I display all course on the view.
* Course A Update
* Course B Update
* Course C Update
I click the "Update" button next to course A. How can I update my enrolment if I don't have the enrolment ID?