Need some documentation to understand the API to be used to get list of all active and inactive users and their last login, we want to explicitly mark them inactive if not logged in last couple of days.
The UserService allows you to get all the active users in the following way:
If you need a list of users as result:
List<User> findUsers(String filter, boolean applyFilterOnEmail, String email, String externalId, String externalIdCaseInsensitive, UserStatus userStatus, AccountType accountType, String company, ArrayList<Long> groupIds, ArrayList<Long> userIds, Long tenantId, boolean includePrimaryGroups, Pageable pageable);
Or if you need just the number (long) of results for your query:
Long countUsers(String filter, boolean applyFilterOnEmail, String email, String externalId, String externalIdCaseInsensitive, UserStatus userStatus, AccountType accountType, String company, ArrayList<Long> groupIds, Long tenantId);
Ask for and offer help to other Alfresco Process Services and Activiti Users and members of the Alfresco team.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.