That would be much more handy to use Drush rather than executing a SQL query to find a user ID. So I am wondering what drush command can be used that takes a username, and returns the equivalent user ID.
1 Answer
Try user-information.
-
Great. Do you know how this 'drush user-information' command can be integrated into this script which deletes all the posts by the user drupal.stackexchange.com/questions/9837/…– alfishCommented Aug 23, 2011 at 13:41