Create Proxy Session

Description

Creates a proxy user session within a given account. The session token and a client session token are returned.

It does not create a proxy session if:

  • The caller is not authorised.
  • The account identifier is not passed or does not exist.
  • The caller does not have a proxy user in the account.

Input

<CreateProxySession>
<userLogonReference>userid</userLogonReference>
<password>password</password> <nodeVersionIdentifierAccount/> <timeoutPeriod/> <firstUseTimeoutPeriod/> </CreateProxySession>

Pass the account as the node version identifier of the account node.

timeoutPeriod and firstUseTimeoutPeriod are in seconds and have the same meaning as in CreateSession. The timeoutPeriod is defaulted to the like-named config parameter, which defaults to 1800. firstUseTimeoutPeriod defaults to timeoutPeriod.

Output

<CreateProxySession>
<errorNumber>0</errorNumber> <sessionCreated>true|false</sessionCreated> <sessionToken/> <clientSessionToken/>
</CreateProxySession>

If session created is false, sessionToken and clientSessionToken are not returned.

Errors

none (except standard errors)

Class

com.metrici.xerula.CreateProxySessionService