Page 1 of 1

Suspend multiple users API

Posted: Mon Oct 05, 2015 7:05 pm
by elicast
to suspend more than one user through the api

thus works hand control through

create bin v-suspend-mulit-user

Code: Select all

for user in "$@"
    echo "Suspend user $user"
    v-suspend-user $user

Code: Select all

execute: v-suspend-mulit-user user1 user2 user3
code by: tjebbeke

Re: [Manual] suspend multiple users API (!)

Posted: Sun Oct 11, 2015 4:18 pm
by skurudo
Nice recipe!