Users Service


Click here for a complete list of operations.

ModifyUser

Modifies an existing user.
Input message
UserContainer element for the user to be inserted.
IdUnused, leave empty.
UsernameThe unique user name.
FirstnameFirst name.
MiddlenameMiddle name.
LastnameLast name.
PasswordPassword.
EMailEMail address.
LangUser predefined language and culture code (example: "en-US").
OrganizationFree string that defines user organization.
ExternalIdFree string that can contains an external user identifier.
Gender The gender of the user.
  • Undefined
  • Male
  • Female
BirthdayBirthday.
StreetAddress street name.
LocalityAddress locality name.
RegionAddress region name.
CountryAddress country name.
PCodeAddress postal code.
PhoneNumberUser phone number.
QualificationFree string for user qualification.
StatusStatus of the user: true if the user is enabled for login, false otherwise.

Test

The test form is only available for requests from the local machine.

SOAP 1.1

The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.

POST /UsersService.asmx HTTP/1.1
Host: cen-ws.cned.fr
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://www.giuntilabs.com/eLex/WS/Users/ModifyUser"

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <ModifyUserRequest xmlns="http://www.giuntilabs.com/eLex/WS/Types">
      <User Id="string">
        <Username>string</Username>
        <Firstname>string</Firstname>
        <Middlename>string</Middlename>
        <Lastname>string</Lastname>
        <Password>string</Password>
        <EMail>string</EMail>
        <Lang>string</Lang>
        <Organization>string</Organization>
        <ExternalId>string</ExternalId>
        <Gender>bytes</Gender>
        <Birthday>date</Birthday>
        <Street>string</Street>
        <Locality>string</Locality>
        <Region>string</Region>
        <Country>string</Country>
        <PCode>string</PCode>
        <PhoneNumber>string</PhoneNumber>
        <Qualification>string</Qualification>
        <Status>boolean</Status>
      </User>
    </ModifyUserRequest>
  </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <ModifyUserResponse xmlns="http://www.giuntilabs.com/eLex/WS/Types" />
  </soap:Body>
</soap:Envelope>