Create a user
From MoodleDocs
How to create a user
Note that in Moodle, you create users first and only give them a student or teacher role once they are in a course.
Note: You are currently viewing documentation for Moodle 3.8. Up-to-date documentation for the latest stable version of Moodle may be available here: Create a user.
Note that in Moodle, you create users first and only give them a student or teacher role once they are in a course.