A Moodle enrolment plugin to map the users' custom profile field with multiple entries against the course ID number.
This allows external student management systems to be used to automatically enrol students without an API. Teachers simply need to set the corresponding ID number in the course configuration.
- Use a command line interface of your choice on the target system.
- Change to the Moodle enrol directory:
cd /path/to/moodle/enrol/
git clone https://github.com/DL-MIN/moodle-enrol_idnumber
- Navigate on your Moodle Webinterface and follow the migration process.
- Download zip file from GitHub: hhttps://github.com/DL-MIN/moodle-enrol_idnumber/archive/main.zip
- Unpack zip file to
/path/to/moodle/enrol/
- Navigate on your Moodle Webinterface and follow the migration process.
- Create a custom profile field in Users → User profile fields to be populated by your authentication plugin.
- In the plugin preferences, select the profile field along with a delimiter used by your source system.
- This enrolment plugin can be inserted and enabled by default in new courses.