While additional Moodle functionality developing for one of our customers required check the user the presence of his only as a «Student» role for a given course, while if the user has the teacher or manager role, the function should return false. In Moodle there are two similar functions, but they perform a few more [...]The post Check for user has some role in the Moodle course appeared first on LMS-Service. Implementation solutions and services for Moodle.