Guest role

Revision as of 07:28, 31 July 2008 by Helen Foster (talk | contribs) (Guest access: Enrolment key)

Jump to: navigation, search

Guest access

Moodle has a built-in "Guest account". Visitors can log in as guests using the "Login as a guest" button on the login screen and enter any courses which allow guest access. In addition, logged-in users can enter any courses which allow guest access without being required to enrol.

Guests ALWAYS have "read-only" access - meaning they can't leave any posts or otherwise mess up the course for real students.

They cannot:

  • Post in forums
  • Edit wiki pages
  • Participate in a chat
  • Take quizzes
  • Submit assignments
  • Contribute glossary entries or comments
  • View SCORM content (because progress not tracked for a guest)
  • Receive any scores or grades (because of the read-only access)

This feature can be handy when you want to let a colleague in to look around at your work, or to let students see a course before they have decided to enrol.

Note that you have a choice between two types of guest access: with an enrolment key or without. If you choose to allow guests who have the key, then the guest will need to provide the current enrolment key EVERY TIME they log in (unlike students who only need to do it once). This lets you restrict which guests can get into a course. If you choose to allow guests to enter without a key, then anyone can get into your course.

If you want guests to be able to take quizzes, or any of the other activities listed above, and have considered the security implications, you can create a visitor account, say with username = password = visitor, for everyone to share.

Enabling guest access

To enable guest access to a Moodle site, the guest login button should be set to "show" by an admin in Administration > Users > Authentication.

Teachers can then set whether their courses allow guest access in the course settings.

To allow visitors to be logged in as guests automatically when entering courses with guest access, the autologinguests box should be checked by an admin in Administration > Users > Permissions > User policies.

Disabling guest access

Guest access for visitors can be disabled by hiding the guest login button in Administration > Users > Authentication. If any courses allow guest access, then only logged-in users will be able to enter them.


Sometimes you may wish to allow people to have a more interactive engagement with a course without you having to enrol them in advance. In this case you can enable "self-enrolment" for your course. This allows anyone with a user account on your Moodle server to become a student on your course. As with guest access, you can use the enrolment key to limit this only to people to whom you have given the key.

See also

Using Moodle forum discussions: