Add users

From MoodleDocs
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Users may be added to a Moodle site in a number of ways. When user accounts are created on a site, the process is called Authentication and when users join a course, the process is called Enrolment. Normally only the administrator is allowed to add users to a site. Course teachers are only able to add students to their course and do not have permission to add users to the site. (If you're a teacher looking for instructions on how to add students to your course, read Add students.)

Users sign up to the site themselves

If you wish people to create their own accounts on your site, you must enable Email-based self-registration. This features is disabled by default because of the possibility of spammers accessing your site.

Signing up for an account

The admin creates accounts manually

This process is called Manual authentication and is enabled by default on a site. You can lock certain fields, set password expiry dates and other configure other settings from Site administration > Plugins > Authentication > Manual accounts.

As an administrator, you can add users one at a time from Site administration > Users > Accounts > Add a new user. See the documentation Add a new user for more details.

You can also upload users in batches with a CSV file from Site Administration > Users > Accounts > Upload users. See the documentation Upload users for more details.

The CSV file will also upload users directly into courses and groups within those courses. In the example below, new students are added to the site and enrolled in specified groups in two courses, English and Mathematics. (The courses need to exist already, but if the groups do not already exist, Moodle will create them on upload.)

New users added to site, courses and groups

Users may also be added as members of cohorts (site or category wide batches of users.) See Cohorts for more details.

Adding users from other systems

It is possible for users to connect to Moodle via single sign on from other systems. The settings for these may be found in Site administration > Plugins >Authentication > Manage authentication and include: