2. Enrolment methods

(UPDATE 2024-10: In Moodle 4.3 that drop-down list looks different, but works the same. You also need to click on the "Enrolled users" text to expand the list of other options.)