drush user-blockfor drush 8x
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 of users to operate on.
--name : A comma delimited list of user names of users to operate on.
--mail : A comma delimited list of user mail addresses of users to operate on.
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