Skip to main content

Working with Users and Last Login

Working with Users via ABRA Flexi

Written by Lenka Haringerová

ABRA Flexi XML also supports working with users in the system. In addition to the standard structure you obtain when exporting users, you also need to provide 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). The XML for creating a user may 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 -->  </uzivatel></winstrom>

Last Login

In version 2025.5, two new database fields were introduced for users within a company:
lastLoginDate for standard users

lastApiDate for API users, which store the last login timestamp.

They are visible in the API under https://{instance}/u.json?detail=full

Did this answer your question?