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: Unenrolment.

Unenrolment: Difference between revisions

From MoodleDocs
No edit summary
Line 2: Line 2:
Unenrolment is the process of removing users from a course. It is controlled by one or more of the following:
Unenrolment is the process of removing users from a course. It is controlled by one or more of the following:


* The enrolment duration, which unenrols students after the specified time has elapsed
* The enrolment duration, which suspends students after the specified time has elapsed, some plugins include option to unenrol users after enrolment expiration
* For self enrolment, the 'Unenrol inactive after' setting in ''Settings > Course administration > Users > Enrolment methods > Self enrolment'' can be set to specify a time after which a student is automatically unenrolled from a course if they haven't accessed it in that time
* For self enrolment, the 'Unenrol inactive after' setting in ''Settings > Course administration > Users > Enrolment methods > Self enrolment'' can be set to specify a time after which a student is automatically unenrolled from a course if they haven't accessed it in that time
* An [[Enrolment plugins|enrolment plugin]] may decide that the enrolment has expired, for example, a user name for a course is not present in an LDAP database, or if a Flat file is processed by Cron
* An [[Enrolment plugins|enrolment plugin]] may decide that the enrolment has expired, for example, a user name for a course is not present in an LDAP database, or if a Flat file is processed by Cron

Revision as of 07:53, 7 March 2013

Unenrolment is the process of removing users from a course. It is controlled by one or more of the following:

  • The enrolment duration, which suspends students after the specified time has elapsed, some plugins include option to unenrol users after enrolment expiration
  • For self enrolment, the 'Unenrol inactive after' setting in Settings > Course administration > Users > Enrolment methods > Self enrolment can be set to specify a time after which a student is automatically unenrolled from a course if they haven't accessed it in that time
  • An enrolment plugin may decide that the enrolment has expired, for example, a user name 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 unenrol themself from a course.

Enrolment duration

The default enrolment duration for manual enrolment can be set in Settings > Course administration > Users > Enrolment methods > Manual enrolment. It can be amended from the default value when enrolling users manually in Settings > Course administration > Users > Enrolled users.

The enrolment duration for self enrolment can be set in Settings > Course administration > Users > Enrolment methods > Self enrolment.

Bulk unenrolment

Users who were previously manually enrolled may be unenrolled in bulk via Settings > Course administraton > Users > Enrolment methods then clicking on the 'Enrol' users icon.

Unenrolment and user data

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 Settings > 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 enrolment options before re-enrolling the user.

See also

Screencast: how to bulk unenrol students from a course.