drush user-blockfor drush 6x
Block the specified user(s).
user-block has 1 alias/es:
user-block accepts 1 argument/s:
users : A comma delimited list of uids, user names, or email addresses.
user-block accepts 3 option/s:
--uid : A comma delimited list of uids to block
--name : A comma delimited list of user names to block
--mail : A comma delimited list of user mail addresses to block
Block the users with name, id, or email 5 or user3, uids 2 and 3, names someguy and somegal, and email address of [email protected]
drush user-block 5,user3 --uid=2,3 --name=someguy,somegal [email protected]
comments powered by Disqus