function drush_user_unblock

8.0.x user.drush.inc drush_user_unblock($users = '')
6.x user.drush.inc drush_user_unblock($users = '')
7.x user.drush.inc drush_user_unblock($users = '')
4.x user.drush.inc drush_user_unblock($users = '')
5.x user.drush.inc drush_user_unblock($users = '')
master user.drush.inc drush_user_unblock($users = '')

Unblock the specified user(s).

File

commands/user/user.drush.inc, line 271
Drush User Management commands

Code

function drush_user_unblock($users = '') {
  $userlist = new UserList($users);
  $userlist->each('unblock');
  drush_log(dt('Unblocked user(s): !users', array('!users' => $userlist->names())), LogLevel::SUCCESS);
}