Remove unassigned users

Users who have been removed from all groups are moved into the dedicated Unassigned tab (see: https://docs.helmut.de/helmut4-releases/helmut4-components/helmutfx/users#unassigned-tab). This tab makes it easy to spot any user who isn’t actively using the system—for example, if their AD account has been deactivated for any reason.

Remove unassigned users: found one user

By default, there’s no built-in way to remove these “orphaned” users. However, you can create a cron task that scans all unassigned users, checks their last login date, and deletes any account whose last login is older than, say, 21 days.

Find unassigned users, last login 21 days ago

The JavaScript code returns a JSON payload containing all relevant information. A second JavaScript snippet can process that payload to generate a human-readable HTML page, which is then displayed via the send-message node.

Remove unassigned users: found no matching user

Last updated