You've figured out how you are going to authenticate users in Moodle and have learned how to set up two authentication plugins. We now need to consider how you are going to enroll users in courses. You may choose several different methods depending on the course and the purpose of the course. In Chapter 2, Moodle in Hiring and Interviewing we set up a course to manage the hiring process for a new position and we enabled self-enrollment so the applicant could enroll in a course that corresponded to the position they were interested in. This is one way to enroll users in a course.
You can also enroll users in courses manually. Teachers and Moodle administrators in a course can assign users a role and thereby enroll them in the course. At the end of Chapter 2, Moodle in Hiring and Interviewing, you also learned how to assign roles, and so we won't bother going into that again. However, there may be some instances where you want to automate course enrollment. For example, your company's HR system includes a talent management system and you want to use this information to auto-enroll users in the appropriate training courses. Moodle has several enrollment plugins which will allow you to automate the enrollment process.
Similar to what we did previously with the authentication plugins, we will first briefly describe the enrollment plugins available and then choose two among them for more detailed examples.
So let's get into some more detailed examples with the flat file and external database enrollment plugins.
18.220.187.223