Is there any easier way to get a course lecturer? Now I can get lecturer via core_enrol_get_enrolled_users request.
But I get long list with all users and search lector by shortname "editingteacher".
Maybe it is possible get users by "shortname " in this request? because i need only lector, not students.