I'm not an enrolement expert. In general the enroleid is the id of the enrolement method that is enabled for the specified course. You find it in enrole in the DB.
id | enrol | status | courseid | sortorder | name | enrolperiod | enrolstartdate | enrolenddate | expirynotify | expirythreshold | notifyall | password | cost | currency | roleid | customint1 | customint2 | customint3 | customint4 | customchar1 | customchar2 | customdec1 | customdec2 | customtext1 | customtext2 | timecreated | timemodified | |||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | manual | 0 | 2 | 0 | NULL | 0 | 0 | 0 | 0 | 0 | 0 | NULL | NULL | NULL | 5 | NULL | NULL | NULL | NULL | NULL | NULL | NULL | NULL | NULL | NULL | 1326902657 | 1326902657 | |||
2 | guest | 1 | 2 | 1 | NULL | 0 | 0 | 0 | 0 | 0 | 0 | NULL | NULL | 0 | NULL | NULL | NULL | NULL | NULL | NULL | NULL | NULL | NULL | NULL | 1326902657 | 1326902657 | ||||
4 | manual | 0 | 3 | 0 | NULL | 0 |