Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,059 of 9,059 pages
About the help in other languages
All help pages

exp:expuseraudit

The user audit log of an account (Users > Audit): what happened to it and what it did, newest first, filtered by event, result and days.

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/examples/commands/expuseraudit.md

On this page

exp:expuseraudit

The user audit log of an account (Users > Audit): what happened to it and what it did, newest first, filtered by event, result and days.

Script bin/php/expuseraudit.php, code in kernel/private/classes/commands/expuseraudit.php. Run it from the installation root, as the user the web server runs as:

./console exp:expuseraudit --help
./console exp:user:audit --help
php bin/php/expuseraudit.php --help

Help text

The user audit log of an account
Lists the rows of the user audit log (Users > Audit, the table expuser_audit) about the account or
by it, newest first: time, event, result, who acted, about whom, and the siteaccess. Filter by an
event name or prefix, a result and a range of days. The values before and after are in the JSON
output; passwords and secrets are never in the log. Changes nothing.

./console exp:user:audit jane
./console exp:user:audit jane --event=access.user.password --from=2026-10-01
./console exp:user:audit jane --result=refused --limit=100 --format=json

Options

OptionValueHelp
--eventrequiredOnly events with this name or a name below it (access.user.password)
--resultrequiredOnly events with this result: success, refused or failed
--fromrequiredOnly events on or after this day (YYYY-MM-DD)
--torequiredgroups move: the group to move it below (node id or name); audit: only events on or before this day (YYYY-MM-DD)
--limitrequiredHow many to list (default 25, at most 500); bulk: the most accounts one run may change (default 500, at most 5000)
--offsetrequiredSkip this many first (the next page: --offset=25)
--formatrequiredtext (default) or json (the machine output exp-user/1)

Read from the option definitions in the code (startup(), getOptions(), options() or ezcConsoleOption). Every script also takes the standard options of the script framework (--help, --siteaccess, --debug, --quiet, --allow-root-user ...).

Arguments: [user].


Generated by ./console exp:help:examples from bin/php/expuseraudit.php, kernel/private/classes/commands/expuseraudit.php. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x