July 2017
Intermediate to advanced
456 pages
11h 32m
English
Using Drush to retrieve user information is simple. If we know the user ID associated with the user, we can use the drush user-information command to return information about that user. We can locate the user ID by navigating to the People panel in Drupal and hovering over the username. In our example, the developer user has an ID of 2.
We can open a terminal window and enter the following command to retrieve our developer user's information:
drush user-information 2

Read now
Unlock full access