Talk:External database enrolment
From MoodleDocs
This needs to be updated to include mention of;
Local category field enrol_database | localcategoryfield
Users can choose either "id" or "idnumber". This is used to match the local category when creating new courses that do not exist. The existing information under the "Creating Courses" section is wrong.