- Moodle 3 Administration(Third Edition)
- Alex Büchner
- 637字
- 2021-07-16 12:50:51
Moodle users
Moodle users, or rather their user accounts, are dealt within Users | Accounts. Before we start, it is important to understand the difference between authentication and enrolment.
Moodle users have to be authenticated in order to log in to the system. Authentication grants users access to the system through login where a username and password have to be given (this also applies to guest accounts where a username is allotted internally). Moodle supports a significant number of authentication mechanisms, which are discussed later in detail.
Enrolment happens at course level. However, a user has to be authenticated to the system before enrolment to a course can take place. So, a typical workflow is as follows (there are exceptions as always, but we will deal with them when we get there):
- Create your users.
- Create your courses (and categories).
- Associate users to courses and assign roles.
Again, this sequence demonstrates nicely how intertwined courses, users, and roles are in Moodle. Another way of looking at the difference between authentication and enrolment is how a user will get access to a course. Please bear in mind that this is a very simplistic view and it ignores the supported features such as external authentication, guest access, and self-enrolment.

During the authentication phase, a user enters his credentials (username and password) or they are entered automatically via single sign-on. If the account exists locally, that is within Moodle, and the password is valid, he/she is granted access. The next phase is enrolment. If the user is enrolled and the enrolment hasn't expired, he/she is granted access to the course. You will come across a more detailed version of these graphics later on, but for now, it hopefully demonstrates the difference between authentication and enrolment.
To add a user account manually, go to Users | Accounts | Add a new user. As with courses, we will only focus on the mandatory fields, which should be self-explanatory:
- Username (has to be unique)
- New password (if a password policy has been set, certain rules might apply)
- Firstname
- Surname
- Email address
Make sure you save the account information by selecting Create user at the bottom of the page. If any entered information is invalid, Moodle will display error messages right above the field.

I have created a few more accounts; to see who has access to your Moodle system, go to Users | Accounts | Browse list of users, where you will see all users. Actually, I did this via batch upload, which will be dealt within Chapter 5, User Management.

Now that we have a few users on our system, let's go back to the course we created a minute ago and manually enroll new participants to it. To achieve this, go back to Courses | Manage courses and categories, select the Miscellaneous category again, and select the created demo course. Underneath the listed demo course, course details will be displayed alongside a number of options (on large screens, details are shown to the right). Here, select Enrolled users.

As expected, the list of enrolled users is still empty. Click on the Enrolled users
button to change this. To grant users access to the course, select the Enrol button beside them and close the window. In the following screenshot, three users, participant01
to participant03
have already been enrolled to the course. Two more users, participant04
and participant05
, have been selected for enrolment.

You have probably spotted the Assign roles dropdown at the top of the pop-up window. This is where you select what role the selected user has, once he/she is enrolled in the course. For example, to give Tommy Teacher appropriate access to the course, we have to select the Teacher role first, before enrolling him to the course.
This leads nicely to the third part of the pyramid, namely, roles.
- 深入核心的敏捷開(kāi)發(fā):ThoughtWorks五大關(guān)鍵實(shí)踐
- 數(shù)據(jù)庫(kù)系統(tǒng)原理及MySQL應(yīng)用教程(第2版)
- WildFly:New Features
- The Android Game Developer's Handbook
- 算法精粹:經(jīng)典計(jì)算機(jī)科學(xué)問(wèn)題的Java實(shí)現(xiàn)
- 深入淺出Windows API程序設(shè)計(jì):編程基礎(chǔ)篇
- Java EE 8 Application Development
- Scala Reactive Programming
- 硬件產(chǎn)品設(shè)計(jì)與開(kāi)發(fā):從原型到交付
- 監(jiān)控的藝術(shù):云原生時(shí)代的監(jiān)控框架
- Visual Basic語(yǔ)言程序設(shè)計(jì)上機(jī)指導(dǎo)與練習(xí)(第3版)
- Beginning PHP
- C語(yǔ)言開(kāi)發(fā)寶典
- Python程序設(shè)計(jì)案例教程:從入門(mén)到機(jī)器學(xué)習(xí)(微課版)
- IBM DB2 9.7 Advanced Administration Cookbook