drush user-blockfor drush 7x

Block the specified user(s).

drush user-block

  • Aliases

    user-block has 1 alias/es:

    drush ublk

  • Arguments

    user-block accepts 1 argument/s:

    users : A comma delimited list of uids, user names, or email addresses.

  • Options

    user-block accepts 3 option/s:


    --uid : uid


    --name : name


    --mail : mail

  • Examples

    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 --mail=bil[email protected]

  • Comments

    comments powered by Disqus