exp:ezcreatedeactivatedusergroup
Create the user group for deactivated accounts ("Deactivate and move") ahead of first use.
Script bin/php/ezcreatedeactivatedusergroup.php, code in kernel/private/classes/commands/ezcreatedeactivatedusergroup.php. Run it from the installation root, as the user the web server runs as:
./console exp:ezcreatedeactivatedusergroup --help
php bin/php/ezcreatedeactivatedusergroup.php --helpHelp text
Create the user group for deactivated accounts (Deactivate and move) ahead of first use.
A dry run unless --commit is given. Prints the node id; never writes an INI file.
php bin/php/ezcreatedeactivatedusergroup.php -s <admin siteaccess>
php bin/php/ezcreatedeactivatedusergroup.php -s <admin siteaccess> --commit [--name=...] [--section-id=N]Options
| Option | Value | Help |
|---|---|---|
--commit | Create the group (without it, only say what would be done) | |
--name | required | The name of the group (default: "Deactivated users" in the siteaccess language) |
--section-id | required | Put the group in this section (default: the section of the user root node) |
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 ...).
Related
Generated by ./console exp:help:examples from bin/php/ezcreatedeactivatedusergroup.php, kernel/private/classes/commands/ezcreatedeactivatedusergroup.php. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.