If you use a flat file to enroll students in a course, the file will identify each course by its ID number. The example we used earlier was as follows:
add, student, 007, EM102
This ID can consist of any alphanumeric characters, not just digits, and be up to 100 characters in length. In the Edit course settings page, you can see that CourseID number is an optional field:
In the Moodle database, you will find the CourseID number in the mdl_course table in the idnumber field:
If you want to use a flat file to mass-enroll a ...