Capabilities/moodle/role:switchroles
From MoodleDocs
allows a user to switch into another role, much like the "student view" functionality in Moodle 1.6
allows a user to switch into another role, much like the "student view" functionality in Moodle 1.6