Jump to: navigation, search

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

Legacy Role Inherit Allow Prevent Prohibit
Administrator - X - -
Course Creator X - - -
Teacher X - - -
Non-editing Teacher X - - -
Student X - - -
Guest X - - -
Authenticated User X - - -

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.

See also