Skip to the content
Documentation

exp:ezcreatedeactivatedusergroup

No ratings yet

Available since Exponential 6.0.15 (in development, not in a release yet).

Summary

The script bin/php/ezcreatedeactivatedusergroup.php.

Usage

./console exp:ezcreatedeactivatedusergroup [options]
php bin/php/ezcreatedeactivatedusergroup.php [options]

Help

The output of ./console help exp:ezcreatedeactivatedusergroup (the script run with --help), without the standard options:

Usage: bin/php/ezcreatedeactivatedusergroup.php [OPTION]...
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:
  --commit            Create the group (without it, only say what would be done)
  --name=VALUE        The name of the group (default: "Deactivated users" in the siteaccess language)
  --section-id=VALUE  Put the group in this section (default: the section of the user root node)

Options

Option Value Description
--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)

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/ezcreatedeactivatedusergroup.php, kernel/private/classes/commands/ezcreatedeactivatedusergroup.php

See also

Generated example: exp:ezcreatedeactivatedusergroup

Added to the reference for Exponential 6.0.15.

Contributors

Comments

Add a comment

Comments are read by a moderator before they appear.