Capabilities/moodle/user:loginas
From MoodleDocs
allows a user to log in as other users (login as button in 1.6)
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.
allows a user to log in as other users (login as button in 1.6)