I am currently using moodle version 3.3.7. May I know how can I add and suspend user account by retrieving data from external database?
I am following this. I have the same, or at least similar, question.
We do a transfer from our HRIS into our Moodle instance with a ton on information regarding the employees. But when they leave I need to suspend their accounts. The issue is we have contractors and other customers of our agency (we are State government) who log in but are not updated by the transfer of data. We need to suspend the ex-employees but not the external users.
We do a transfer from our HRIS into our Moodle instance with a ton on information regarding the employees. But when they leave I need to suspend their accounts. The issue is we have contractors and other customers of our agency (we are State government) who log in but are not updated by the transfer of data. We need to suspend the ex-employees but not the external users.
Personally, I would script it using Moodle web services or even Moosh (https://moosh-online.com/).