This is an old revision of the document!


Table of Contents

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>,
			   "clientIp":<text>}

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)
clientIp IP address for doubling session (optional parameter)

Response

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

Follow us on Facebook Gurtam Wialon Twitter Gurtam Wialon info@gurtam.com   |   Copyright © 2002-2024 Gurtam