Problem Description
I am looking for the way to automatically assign users with different roles across LDAP.
I have found from this document (http://docs.moodle.org/26/en/LDAP_enrolment) that we could enroll users to courses and assign them with `teacher` and `student` roles.
But I wonder how it should be done if I want to assign other administrative roles through LDAP?
(I have found a few `User role assignment from LDAP` plugins as well, but I haven't tested them out yet.)
So I would like to know if that is achievable through Moodle's built-in features. Or I would have to install extensions or plugins? Or I would have to write some codes myself?
Thank you very much.
AI-Generated Solution
Powered by LMSouq AI · GPT-4.1-mini
Analyzing problem and generating solution…
Was this solution helpful?