Topic: Login as User
I want to login to the system on behalf of other user
For example: login to user "childuser" from the user "mainuser" using login as feature. after logged into system(http://dev.hosting.wialon.com/),at top right corner it should show like "mainuser(childuser)"
Is there any Remote API to achieve this? Currently I'm using below API.
https://sdk.wialon.com/wiki/en/sidebar/ … /duplicate
params: {"operateAs":"childuser","continueCurrentSession":true}
sid: <sessionID of mainuser>
In the Result I will get one session ID, using this sessionID, I'm forming the URL like below. It will login successfully. But at top right corner it is showing like "mainuser" instead of showing "mainuser(childuser)"
http://dev.hosting.wialon.com/?sid=<sessionID>
Please let me know if I'm doing anything wrong here
J Prabhu