To login to the system on behalf of other user, you need to execute the command core/duplicate:
svc=core/duplicate¶ms={"operateAs":<text>, "continueCurrentSession":<bool>}
It duplicates the active session.
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 format is be the same as in the command Token login
|