Impersonating a user

Is there a way to 'impersonate' a mobile user on the system for troubleshooting purposes?
Thanks in advance!

Hi Ed

Depending on what you're needs are there are a few options:

  1. If you want to see what data will be available on to a user in an application you can use the 'Admin Restore' endpoint:
https://www.commcarehq.org/a/{domain}/phone/admin_restore/{app ID}/?as={username}@{domain}
  1. If you want to see how an app appears to a mobile users you can use the Login As feature of Live Preview or Web Apps.

We do not have an mechanisms for impersonating a user in other areas of CommCare.

1 Like

Those sound useful, I'll check them out, thanks again Simon!