Suspend multiple users API
Posted: Mon Oct 05, 2015 7:05 pm
to suspend more than one user through the api
thus works hand control through
create bin v-suspend-mulit-user
code by: tjebbeke
thus works hand control through
create bin v-suspend-mulit-user
Code: Select all
#!/bin/bash
for user in "$@"
do
echo "Suspend user $user"
v-suspend-user $user
done
Code: Select all
execute: v-suspend-mulit-user user1 user2 user3