user:create

Create users for the application

Utilisation:

drupal user:create [arguments] [options]
uc

Options disponibles

OptionDétails

--roles

User roles

--email

User email

--status

User status

Paramètres disponibles

ParamètreDétails

username

User name to be created

password

User password

Exemples

Create user specifying username, password, role, email and status

drupal user:create  john p455w0rd  \
  --roles='authenticated'  \
  --email="john@anexusit.com"  \
  --status="1"

Create admin user specifying username, password, role, email and status

drupal user:create  doe p455w0rd  \
  --roles='administrator'  \
  --email="doe@anexusit.com"  \
  --status="1"