How is unenrollment controlled?
Unenrollment is the process of removing users from a course. It is controlled by one or more of the following:
- The enrollment duration, which suspends users after the specified time has elapsed. Some plugins include the option to unenroll users after enrollment expiration
- For Self-enrollment, the ‘Unenroll inactive after’ setting in Course administration > Users > Enrollment methods > Self-enrollment can be set to specify a time after which a user is automatically unenrolled from a course if they haven’t accessed it in that time
- An enrollment plugin may decide that the enrollment has expired, for example, if a user for a course is not present in an LDAP database, or if a Flat file is processed by Cron.
In addition, users with the appropriate permission can unenroll themselves from a course.
Enrollment duration
The default enrollment duration for manual enrollment can be set in Administration > Course administration > Users > Enrollment methods > Manual enrollment. It can be amended from the default value when enrolling users manually in Administration > Course administration > Users > Enrolled users.
The enrollment duration for self enrollment can be set in Administration > Course administration > Users > Enrollment methods > Self enrollment.
Bulk unenrollment
Users who were previously manually enrolled may be unenrolled in bulk via Administration > Course administration > Users > Enrollment methods then clicking on the ‘Enrol’ users icon.
Unenrollment and grade history
When a user is unenrolled, their grade history is not deleted. If a user is unenrolled accidentally, their grades can be restored by going to Administration > Course administration > Users > Enrolled users, clicking ‘Enrol users’ and making sure that the ‘Recover user’s old grades if possible’ checkbox is ticked in the enrollment options before re-enrolling the user.
Users enrolled with methods other than manual (such as self-enrollment) will have their grades restored depending on the value of “recovergradesdefault” in Administration > Site administration > Grades > General settings. Further, once the user re-enrolls in the course, their grade in every graded activity may need to be restored manually, for example, by using the “regrade selected attempts” option in a Quiz.
Suspended or Unenrolled?
Suspended users are no longer able to access any of their courses on LMS but their data is preserved, so it is possible for them to return to their course at a later time. This might be useful for example, for keeping safe the work of users who have left the establishment but whose data might be needed for inspection in future years. Suspended users currently still appear in the gradebook but an instructor can select in their Grader report preferences to show only active users or all users (including suspended users). See Grade settings for more details.
Note: An instructor may suspend a single user or groups of users from a particular course by changing their status in Users > Enrolled users>Edit enrollment
.
It is also possible to suspend users from courses via csv/text file from Site administration > Users > Accounts > Upload users using the enrollstatus field, where 1 against a user means they are suspended (and leaving blank means they are still enrolled.)
Administrators can suspend user accounts, meaning the user cannot access any courses, by editing the profile and checking the “Suspended account” box.
Unenrolled users do not normally retain any data and will not appear in the gradebook. However, see #Unenrollment and grade history Unenrollment is typically more final than suspension.