Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
en:sidebar:remoteapi:apiref:core:duplicate [25/01/2013 14:02]
zuve
en:sidebar:remoteapi:apiref:core:duplicate [02/05/2013 07:16]
zuve
Line 2: Line 2:
 ====== Operate As ====== ====== Operate As ======
  
-To login into the system ​from name of other user you need to execute command **core/​duplicate**: ​+To login to the system ​on behalf ​of other useryou need to execute ​the command **core/​duplicate**: ​
 <code javascript>​ <code javascript>​
 svc=core/​duplicate&​params={"​operateAs":<​text>,​ svc=core/​duplicate&​params={"​operateAs":<​text>,​
     "​continueCurrentSession":<​bool>​}     "​continueCurrentSession":<​bool>​}
 </​code>​ </​code>​
-Duplicate session based on active ​(session ​duplicate). Both sessions should be initiated from the same IP.+It duplicates the active session.
  
 ===== Parameters ===== ===== Parameters =====
 ^ Name ^ Description ^ ^ Name ^ Description ^
-| operateAs | name of user, from wich name you want to do login (must be empty if you want to operate as main user) | +| operateAs | name of user you want to operate as (must be empty if you want to operate as the main user) | 
-| continueCurrentSession | should we continue previous sessionby default ​false, if true - both sid stays valid |+| continueCurrentSession | defines whether to continue ​the previous session ​(false ​by default, if true - both //sid//'s remain ​valid|
  
 ===== Response ===== ===== Response =====
-Format of response will be the same as in command [[login|login]].+Response format is be the same as in the command [[login|login]].
Follow us on Facebook Gurtam Wialon Twitter Gurtam Wialon info@gurtam.com   |   Copyright © 2002-2024 Gurtam