exp:expusershow
Available since Exponential 6.0.15 (in development, not in a release yet).
Summary
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)
Usage
./console exp:expusershow [options] php bin/php/expusershow.php [options] ./console exp:user:show [options]
Aliases
exp:user:show
Help
The output of ./console help exp:expusershow (the script run with --help), without the standard options:
Usage: bin/php/expusershow.php [OPTION]... [USER] 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: --as=VALUE Act as this user (login, e-mail or id; default the user of [UserSettings] UserCreatorID); the audit records it as who did it --format=VALUE text (default) or json (the machine output exp-user/1)
Options
| Option | Value | Description |
|---|---|---|
| --as | required | Act as this user (login, e-mail or id; default the user of [UserSettings] UserCreatorID); the audit records it as who did it |
| --format | required | text (default) or json (the machine output exp-user/1) |
Arguments
[user]
Standard options
Every script also takes the standard options of the script framework: --help, --quiet, --siteaccess, --debug, --colors, --no-colors, --logfiles, --no-logfiles, --verbose and --allow-root-user.
Source
bin/php/expusershow.php, kernel/private/classes/commands/expusershow.php
See also
Generated example: exp:expusershow
Added to the reference for Exponential 6.0.15.
Contributors
- Graham Brookins Updated
Comments
Add a comment