Add role to a user using drush

Note Statistics

Note Statistics

  • Viewed 64 times
Sun, 11/29/2020 - 21:41

Run the command below to add permission to a user with drush.

./vendor/bin/drush user-add-role "administrator" <username>

Example:

./vendor/bin/drush user-add-role "administrator" johndoe
Authored by
Tags