ABRA Flexi XML also allows you to work with users in the system. In addition to the usual structure that you get when you export a user, you also need to add a password, in the password and passwordAgain elements (designed for use in the user interface; both elements are required and their values must be identical).
Optionally, you can also specify a registration email value (the registrationEmail field), which is used to reset a forgotten password.
Creating a User
The XML for creating a user might look like this, for example:
<?xml version="1.0"?>
<winstrom version="1.0">
<uzivatel>
<id>code:einstein</id>
<kod>einstein</kod> <!-- přihlašovací jméno -->
<jmeno>Albert</jmeno>
<prijmeni>Einstein</prijmeni>
<password>E=mc2</password> <!-- heslo -->
<passwordAgain>E=mc2</passwordAgain> <!-- heslo znovu -->
<role>code:JENCIST</role> <!-- uživatelská role -->
<registrationEmail>albert.einstein@ias.edu</registrationEmail>
</uzivatel>
</winstrom>
🚨 You are sending the password in the request body in plain text. Therefore, always use HTTPS exclusively and make sure that the request containing the password does not end up in your integration's logs.
Last Login
In version 2025.5, two new database fields were created for users within a company:
| Last login of a normal user |
| Last login of an API user |
Both fields are visible in the API at the full detail level:
GET https://{instance}/u.json?detail=full
