Usage
This plugin adds the possibility to work with users via console commands.
Console commands
Creates a user.
Options:
login User name for the user (required)
email Email for the user (required)
password Password for the user (required)
super Add super user privileges to the user (optional)
Invites a user.
Options:
login User name for the user (required)
email Email for the user (required)
site ID of the initial site (required)
expiry Expiry in days (optional)
Deletes a user.
Options:
Menage access to a user, for which sites and what access.
Options:
login User name for the user (required)
sites One or more sites that you would like to set the permission for (required)
access Which access the user should have to the site - noaccess, view, write, admin (required)
Adds super user privileges to a user
Options:
login User name for the user (required)
Remove super user privileges from a user
Options:
login User name for the user (required)
If the user is the only one that has super user access, this will fail. At least one super user is needed.
List all users.
No options.
Resets password for a user.
Options:
login User name for the user (required)
new-password New password for the user (required)