Difference between revisions of "Unenrolment"

Jump to: navigation, search
(Student unenrolment: image added)
m (Suspended or Unenrolled?: Spelling correction)
 
(35 intermediate revisions by 10 users not shown)
Line 1: Line 1:
Unenrolment is controlled by the following:
+
{{Course enrolment}}
* The ''longtimenosee'' variable in ''Administration > Configuration > [[Variables]]'' (or ''Administration > Server > Cleanup'' in 1.8), which specifies the time limit for which, if students haven't logged in, they are unenrolled from courses.
+
==How is unenrolment controlled?==
* The ''Enrolment duration'' in the [[Settings|course settings]], which unenrols students after the specified time has elapsed.
+
Unenrolment is the process of removing users from a course. It is controlled by one or more of the following:
* Enrolment plugins may decide that the enrolment has expired; for example, if it is not present or current in an LDAP, Database or SIS server.
 
* The capability [[Capabilities/moodle/role:unassignself|moodle/role:unassignself]], which allows a user to unassign themself from a role in the given context (see below).
 
  
==Student unenrolment==
+
* The enrolment duration, which suspends students after the specified time has elapsed.  Some plugins include the  option to unenrol users after enrolment expiration
 +
* For [[Self enrolment]], the 'Unenrol inactive after' setting in ''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, if a user for a course is not present in an LDAP database, or if a Flat file is processed by Cron.
  
By default, students are unable to unenrol themselves from courses.
+
In addition, users with the appropriate permission can unenrol themself from a course.  
  
To enable students to unenrol themselves from any course on the site that they are enrolled on:
+
==Enrolment duration==
#Access ''Administration > Users > Permissions > Define roles''.
 
#Click the edit icon opposite the student role.
 
#Change the [[Capabilities/moodle/role:unassignself|moodle/role:unassignself]] capability from not set to allow.
 
#Click the "Save changes" button at the bottom of the page.
 
  
To enable students to unenrol themselves from a particular course:[[Image:Course admin block showing unenrol link.png|frame|Course administration block showing unenrol link]]
+
The default enrolment duration for manual enrolment can be set in ''Administration > Course administration > Users > Enrolment methods > Manual enrolment''. It can be amended from the default value when enrolling users manually in ''Administration > Course administration > Users > Enrolled users''.
#Follow the Assign roles link in the course administration block.
 
#Follow the "Override roles" link. (In Moodle 1.9 onwards, click the "Override permissions" tab.)
 
#Select the Student role.
 
#Set the capability [[Capabilities/moodle/role:unassignself|moodle/role:unassignself]] to allow.
 
#Click the "Save changes" button at the bottom of the page.
 
  
Note: By default, only administrators are able to override permissions. Instructions on enabling teachers to override permissions can be found in [[Override permissions]].
+
The enrolment duration for self enrolment can be set in ''Administration > Course administration > Users > Enrolment methods > Self enrolment''.
  
The role change will take effect immediately in Moodle 1.9, or when students next login in Moodle 1.7 and 1.8. Students will have an "Unenrol me from the course" link in the course administration block and an "Unenrol me from the course" button on their profile page.
+
==Bulk unenrolment==
  
==Teacher unenrolment==
+
Users who were previously manually enrolled may be unenrolled in bulk via ''Administration > Course administraton > Users > Enrolment methods'' then clicking on the 'Enrol' users icon.
  
By default, teachers may unenrol themselves from courses in which they are assigned the role of teacher.
+
==Unenrolment and grade history==
  
To prevent teachers from unenrolling themselves by mistake:
+
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 enrolment options before re-enrolling the user.
  
#Access ''Administration > Users > Permissions > Define roles''.
+
Users enrolled with methods other than manual (such as self enrolment) 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]].
#Click the edit icon opposite the teacher role.
+
 
#Change the [[Capabilities/moodle/role:unassignself|moodle/role:unassignself]] capability from allow to not set.
+
==Suspended or Unenrolled?==
#Click the "Save changes" button at the bottom of the page.
+
 
 +
'''Suspended users''' are no longer able to access any of their courses on Moodle 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 students 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 a teacher 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:'' A  teacher may suspend a single user or groups of users from a particular course by changing their status in  ''Users > Enrolled users>Edit enrolment
 +
''.
 +
It is also possible to suspend users from courses  via csv/text file from ''Site administration > Users > Accounts > Upload users'' using the enrolstatus 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 student 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 [[#Unenrolment and grade history]] Unenrolment is typically more final than suspension.
  
 
==See also==
 
==See also==
 +
* [http://www.screencast.com/t/XtPhA6w2SM Screencast: how to bulk unenrol students from a course.]
 +
* [http://turn-editing-on.blogspot.com/2015/12/restoring-grades-for-student-who-accidentally-unenrolled-from-Moodle-course.html A teacher's experience in restoring a student's grades after accidental unenrolment]
  
*[[Enrolment plugins]]
+
[[Category:Site administration]]
*[[Enrolment FAQ]]
 
 
 
[[Category:Enrolment]]
 
  
 +
[[eu:Desmatrikulatzea]]
 
[[fr:Désinscription]]
 
[[fr:Désinscription]]
 +
[[de:Abmelden aus einem Kurs]]
 +
[[es:Des-inscripción]]
 +
[[ja:登録解除]]

Latest revision as of 04:54, 4 January 2017

How is unenrolment controlled?

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 the option to unenrol users after enrolment expiration
  • For Self enrolment, the 'Unenrol inactive after' setting in 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, 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 unenrol themself from a course.

Enrolment duration

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

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

Bulk unenrolment

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

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

Users enrolled with methods other than manual (such as self enrolment) 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 Moodle 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 students 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 a teacher 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: A teacher may suspend a single user or groups of users from a particular course by changing their status in Users > Enrolled users>Edit enrolment . It is also possible to suspend users from courses via csv/text file from Site administration > Users > Accounts > Upload users using the enrolstatus 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 student 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 #Unenrolment and grade history Unenrolment is typically more final than suspension.

See also