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:expusershow

Show one user account: groups, roles with their limitation, enabled or locked, last visit, registration state, two-step sign-in and active sessions (never a password hash).

Download as PDF

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

On this page

exp:expusershow

Show one user account: groups, roles with their limitation, enabled or locked, last visit, registration state, two-step sign-in and active sessions (never a password hash).

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

./console exp:expusershow --help
./console exp:user:show --help
php bin/php/expusershow.php --help

Help text

Show one user account
Names the account by its login, its e-mail address (when one account has it) or its id, and
shows its groups (the main one first), its roles with where they come from and their limitation,
whether it is enabled, unactivated or locked, its sign-ins and last visit, the state of its
registration, two-step sign-in, active sessions, whether a new password is required, and whether
the account is protected from being disabled or removed. Never a password hash. Changes nothing.

./console exp:user:show admin
./console exp:user:show [email protected] --format=json
./console exp:user:show 14

Options

OptionValueHelp
--asrequiredAct as this user (login, e-mail or id; default the user of [UserSettings] UserCreatorID); the audit records it as who did it
--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/expusershow.php, kernel/private/classes/commands/expusershow.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