drush user:role:addfor drush 9x
Add a role to the specified user accounts.
drush user:role:add
-
Aliases
user:role:add has 2 alias/es:
drush urol
drush user-add-role
-
Arguments
user:role:add accepts 2 argument/s:
role* : The name of the role to add.
names* : A comma delimited list of user names.
-
Options
user:role:add accepts 3 option/s:
--notify
--notify : notify
--druplicon
--druplicon : druplicon
--xh-link
--xh-link : xh-link
-
Examples
Add the "power user" role to user3
drush user:add-role "power user" user3
-
Comments
comments powered by Disqus