Note: You are currently viewing documentation for Moodle 2.0. Up-to-date documentation for the latest stable version is available here: Capabilities/moodle/user:loginas.
- This allows a user to log in as any other user, except users with the moodle/site:doanything capability. It has the same function as the "login as" button in Moodle 1.6.
- Only the default administrator role has this capability set to allow.
- This capability may be applied in the course or system context. If applied in the course context, it allows a user to login as another course participant and browse within that course only.
Legacy Role Default Settings
Note: After using the Login As function you are automatically logged out of Moodle when you return to your normal role. This is for security reasons. If you login again you will be redirected to the page that you were on previously.
See the M2.0 RC1 - Login As functionality discussion on the Using Moodle forum for more details.