Client Management Systems API

Request to validate a user's password (WLC's end client password)


The following parameters are available in the request.

Parameter

Mandatory

Description

SessionID

Y

SessionID returned by the Login Request

Password

Y

Password to be validated.

PasswordIsEncrypted

N

"true" = if the Password is being sent encrypted. If the this fiels is set to true the encryption details are read from the EncryptionInfo object (more details on the EncryptionInfo Object at 4.4.1.1).
"false"= if the Password is not being sent encrypted. This field can be left out if the Password is not encrypted.

UserId

N

UserId of the WLC's Client .
Either UserId OR UserLogin must be supplied.

UserLogin

N

Username of the WLC's Client.
Either UserId OR UserLogin must be supplied.

EncryptionInfo

N

See Section 4.4.1.1 for details

SOAP 1.2 Definition

Request

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.saxobank.com/service/cms/2013/08">
   <soapenv:Header>
     <ns:SessionId>string</ns:SessionId>
  </soapenv:Header>
   <soapenv:Body>
     <ns:ValidateUserPasswordRequest>
       <!-Optional:->
       <ns:Password>string</ns:Password>
 <!-Optional:->
 <ns:PasswordIsEncrypted>boolean</ns:PasswordIsEncrypted>
       <!-Optional:->
       <ns:UserId>int</ns:UserId>
       <!-Optional:->
       <ns:UserLogin>string</ns:UserLogin>
     </ns:ValidateUserPasswordRequest>
   </soapenv:Body>
 </soapenv:Envelope> 


Response

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Header>
     <ActivityId CorrelationId="2cf04ac6-3e5f-437a-ae86-935a803ed07a" xmlns="http://schemas.microsoft.com/2004/09/ServiceModel/Diagnostics">4dfe2a07-ed42-4301-8a73-6fa99afcac50</ActivityId>
   </s:Header>
   <s:Body>
     <ValidateUserPasswordResponse xmlns="http://www.saxobank.com/service/cms/2013/08">
       <IsValid>bool</IsValid>
     </ValidateUserPasswordResponse>
   </s:Body>
 </s:Envelope>

Code Examples

Code example 46: ValidateUserPassword Request

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.saxobank.com/service/cms/2013/08">
   <soapenv:Header>
     <ns:SessionId>QAs01NW22ajBAsjFZTGM</ns:SessionId>
   </soapenv:Header>
   <soapenv:Body>
     <ns:ValidateUserPasswordRequest>
       <ns:Password>GqdJKfJJfn1do</ns:Password>
       <ns:UserId>5235422</ns:UserId>
     </ns:ValidateUserPasswordRequest>
   </soapenv:Body>
 </soapenv:Envelope>


Code example 47: ValidateUserPassword Response

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Header>
     <ActivityId CorrelationId="2cf04ac6-3e5f-437a-ae86-935a803ed07a" xmlns="http://schemas.microsoft.com/2004/09/ServiceModel/Diagnostics">4dfe2a07-ed42-4301-8a73-6fa99afcac50</ActivityId>
   </s:Header>
   <s:Body>
     <ValidateUserPasswordResponse xmlns="http://www.saxobank.com/service/cms/2013/08">
       <IsValid>false</IsValid>
     </ValidateUserPasswordResponse>
   </s:Body>
 </s:Envelope>