Managing Users with Drush
Posted:
Tuesday, July 7th, 2015Last modified:
Tuesday, July 7th, 2015Topics:
drushCreate a new Drupal user with drush
drush ucrt user_name --mail="email@example.com" --password="changeMe456"
Assign one or more users to a role
# Assign to system administrator role by uid drush urol "system administrator" --uid=2,3 # Assign to system administrator role by user name drush urol "system administrator" --name=user_name,"A different user" # Assign to system administrator role by email drush urol "system administrator" --mail=email@example.com
Available Wiki Topics
The operator of this site makes no claims, promises, or guarantees of the accuracy, completeness, originality, uniqueness, or even general adequacy of the contents herein and expressly disclaims liability for errors and omissions in the contents of this website.