Note: You are currently viewing documentation for Moodle 2.0. Up-to-date documentation for the latest stable version is available here: Guest role.

Guest role: Difference between revisions

From MoodleDocs
(ja link)
m (removing blank space and category)
 
(24 intermediate revisions by 8 users not shown)
Line 1: Line 1:
Moodle has a built-in "Guest account". People can log in as guests using the "Login as a guest" button on the login screen. (This button can be enabled or disabled by the administrator.)
{{Standard roles}}
==The guest account==


For a given course, the teacher can choose whether or not to allow guests in.
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.
Guests ALWAYS have "read-only" access - meaning they can't leave any posts or otherwise mess up the course for real students.


They '''cannot''':
They ''cannot'':


* Post discussion messages
* Post in [[Forum module|forums]]
* Edit [[wiki]] pages
* Edit [[Wiki module|wiki]] pages
* Take quizzes
* Participate in a [[Chat module|chat]]
* Submit assignments
* Take [[Quiz|quizzes]]
* Contribute glossary entries or comments
* Submit [[Assignment|assignments]]
* View [[SCORM]] content (because progress not tracked for a guest)
* Add [[Glossary|glossary]] or [[Database activity module|database activity]] entries or comments
* Receive any scores or grades (because of the read-only access)
* 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.
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 the 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.


==Self-enrolment==
==Enabling guest access==
To allow guests into courses on your Moodle, see [[Guest_access|Guest access]]


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.
==Skip login page by URL==


[[Category:Administrator]]
When you need a URL for external people to view your Moodle pages which allow guest access, you can add to one simple URL parameter ''username=guest'' to skip login page and automatically login these users as Guests.
[[Category:Teacher]]


[[fr:Accès invité]]
For example, this URL will ask the user to login before display Welcome page of the "Using Moodle" course:
* http://moodle.org/mod/resource/view.php?id=1361
But this URL will log the visitor in as Guest and display the requested page immediately:
* [http://moodle.org/mod/resource/view.php?id=1361&username=guest  http://moodle.org/mod/resource/view.php?id=1361'''&username=guest''']
Note: if user tries to go to login directly from the page opened by this URL, he can't do it because the login page will return him to that URL and relogin as Guest again. It can be frustrating, and because of this, use this method only in links for external visitors. <!-- May be it is a BUG and login page must to cut this parameter from return URL? -->
 
==See also==
 
Using Moodle forum discussions:
*[http://moodle.org/mod/forum/discuss.php?d=69674 Allowing guests to post in forum?]
 
[[fr:Visiteur anonyme]]
[[ja:ゲストアクセス]]
[[ja:ゲストアクセス]]
[[de:Gast-Rolle]]

Latest revision as of 12:34, 21 October 2011

The guest account

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:

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.

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 allow guests into courses on your Moodle, see Guest access

Skip login page by URL

When you need a URL for external people to view your Moodle pages which allow guest access, you can add to one simple URL parameter username=guest to skip login page and automatically login these users as Guests.

For example, this URL will ask the user to login before display Welcome page of the "Using Moodle" course:

But this URL will log the visitor in as Guest and display the requested page immediately:

Note: if user tries to go to login directly from the page opened by this URL, he can't do it because the login page will return him to that URL and relogin as Guest again. It can be frustrating, and because of this, use this method only in links for external visitors.

See also

Using Moodle forum discussions: