Operate As

To login to the system on behalf of other user, you need to execute the command core/duplicate:

svc=core/duplicate&params={"operateAs":<text>,
			   "continueCurrentSession":<bool>}

It duplicates the active session.

Parameters

Name Description
operateAs name of a user you want to operate as (must be empty if you want to operate as the main user)
continueCurrentSession defines whether to continue the previous session (false by default, if true – both sid‘s remain valid)

Response

Response format is be the same as in the command login.