Summary:
Duplicates an existing session.
Request specification:
Name |
Min/Max |
Type |
Description |
|
|
|
|
|
|
|
|
|
|
|
The ID of the session to duplicate. |
|
|
|
The session timeout value, in seconds. The specified value will be used for this session only and will not affect the original session. If this element omitted, the default timeout value will be used (defined in the Agent configuration). |
|
|
|
|
Returns:
Name |
Min/Max |
Type |
Description |
|
|
|
The new session ID. |
|
|
A token containing the user security information. |
|
|
|
The user login information. |
Description:
The duplicate_session
call creates a new session for the user who is currently associated with another active session (the original session for the same user stays intact). After submitting this request, you may use either session to execute requests in this user's name. Use this call if you need an additional session for the user but don't want to make the user enter his/her login and password again.
Example:
Input
<packet version="4.0.0" id="2">
<target>sessionm</target>
<data>
<sessionm>
<duplicate_session>
<session_id>vzl.40000.4.638a2a56-e689-c340-877d-bd0470f2448c..dc46721aa5t3f82177r1bfa</session_id>
</duplicate_session>
</sessionm>
</data>
</packet>
Ouput
<?xml version="1.0" encoding="UTF-8"?><ns1:packet xmlns:ns3="http://www.swsoft.com/webservices/vzl/4.0.0/types" xmlns:ns2="http://www.swsoft.com/webservices/vzl/4.0.0/sessionm" xmlns:ns1="http://www.swsoft.com/webservices/vzl/4.0.0/protocol" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="26c46725f75t440dr81c" time="2007-06-15T04:59:52+0000" priority="0" version="4.0.0">
<ns1:origin>sessionm</ns1:origin>
<ns1:target>vzclient4-638a2a56-e689-c340-877d-bd0470f2448c</ns1:target>
<ns1:dst>
<ns1:director>gend</ns1:director>
</ns1:dst>
<ns1:data>
<ns2:sessionm>
<ns2:session_id>vzl.40000.4.638a2a56-e689-c340-877d-bd0470f2448c..fc46721cc8t1c35c305r1bfa</ns2:session_id>
<ns2:token xsi:type="ns3:tokenType">
<ns3:user>AQUAAAAAIAFWKopjieZAw4d9vQRw8kSMAAAAAA==</ns3:user>
<ns3:groups>
<ns3:sid>AQUAAAAAIABWKopjieZAw4d9vQRw8kSMAAAAAA==</ns3:sid>
<ns3:sid>AQUAAAAAIABWKopjieZAw4d9vQRw8kSMAQAAAA==</ns3:sid>
<ns3:sid>AQUAAAAAIABWKopjieZAw4d9vQRw8kSMCgAAAA==</ns3:sid>
<ns3:sid>AQUAAAAAIABWKopjieZAw4d9vQRw8kSMAgAAAA==</ns3:sid>
<ns3:sid>AQUAAAAAIABWKopjieZAw4d9vQRw8kSMAwAAAA==</ns3:sid>
<ns3:sid>AQUAAAAAIABWKopjieZAw4d9vQRw8kSMBAAAAA==</ns3:sid>
<ns3:sid>AQUAAAAAIABWKopjieZAw4d9vQRw8kSMBgAAAA==</ns3:sid>
<ns3:sid>AQUAAAAAIAFWKopjieZAw4d9vQRw8kSMAAAAAA==</ns3:sid>
</ns3:groups>
<ns3:deny_only_sids/>
<ns3:privileges/>
</ns2:token>
</ns2:sessionm>
</ns1:data>
<ns1:src>
<ns1:director>gend</ns1:director>
</ns1:src>
</ns1:packet>