Note: You are currently viewing documentation for Moodle 1.9. Up-to-date documentation for the latest stable version is available here: Capabilities/moodle/user:loginas.

Capabilities/moodle/user:loginas

From MoodleDocs
  • 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 - - -

See also