by Andrea Bicciolo.
Hi Kevin,
sorry for answering with another question, however why not using a web service ? You could try, for example, core_role_assign_roles() function. More info about available web service API: http://docs.moodle.org/dev/Web_services_Roadmap#Core_web_service_functions
sorry for answering with another question, however why not using a web service ? You could try, for example, core_role_assign_roles() function. More info about available web service API: http://docs.moodle.org/dev/Web_services_Roadmap#Core_web_service_functions