1. Home
  2. Application 24/7
  3. SOAP requests
  4. addAllowedUsers

addAllowedUsers

Operation addAllowedUsers add user to list of users allowed to log into WUI-slave.

If WUI is working in slave mode, user can run copy of his application on it, but before he has to get permission from WUI master.

WUI master can permit user to use slave using addAllowedUsers. When user gets permission from WUI master
he will be able to log on slaves connected to this WUI master.

Example SOAP request:

<soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="ns1">
   <soapenv:Header/>
   <soapenv:Body>
      <ns1:addAllowedUsers soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
         <newAllowedUsers xsi:type="ns1:allowedUserList">
            <!--Zero or more repetitions:-->
            <item xsi:type="ns1:allowedUser">
               <username xsi:type="xsd:string">user1</username>
            </item>
            <item xsi:type="ns1:allowedUser">
               <username xsi:type="xsd:string">user2</username>
            </item>
         </newAllowedUsers>
      </ns1:addAllowedUsers>
   </soapenv:Body>
</soapenv:Envelope>

Request parameters:

parameter type description
newAllowedUsers usernameList list of user logins which are to be added to list of users permitted to log into WUI-slave

Response parameters:

name type description
requestStatus string result of request
requestStatusDescription string status description

Possible errors:

error description
ERR_OPERATION_NOT_ALLOWED_IN_NORMAL_MODE operacja jest niedozwolona w trybie normalnym, WUI musi być uruchomiony w trybie masteroperation is not allowed when vui is in normal mode. WUI must be in master mode
ERR_OPERATION_NOT_ALLOWED_IN_SLAVE_MODE operacja jest niedozwolona w trybie klona (slave), WUI musi być uruchomiony w trybie normalnym lub masteroperation is not allowed when in slave mode. WUI must be in normal or master mode
ERR_INVALID_ALLOWED_USER_LIST nieprawidłowa lista użytkownikówuser list is invalid
Was this article helpful to you? Yes No

How can we help?