Change user authentication
Use an another user authentication in your code.
Source code and example : on GitHub
https://github.com/michelcedric/UserImpersonation
Usage :
https://michelcedric.wordpress.com/2015/09/03/usurpation-didentite-dun-user-c-user-impersonation/
A library which can be used to start an impersonation context under a user account different to the one assigned to the current thread.
Based on code published by:
* Jesse C. Slicer on http://stackoverflow.com/a/2563809/2571174 (01 Apr 2010).
* GameScripting on...
More information
Portal Impersonate ++ allows you to easily update your contact's portal password for bugs investigations purposes, and then to restore the original previous password.