Development:Userenrols plugin
From MoodleDocs
The Userenrols course import plugin is used to make a large number of ad hoc manual enrollments in a course using an uploaded text containing the list of enrollees. The course role into which new enrollments are made is selectable, and new course participants can be assigned into groups as part of the same import process.