Blame view

scripts/AddUser.sh 293 Bytes
cb4b7775   Elena.Budnik   USERMANAGER TOOLS
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/sh

if [ $# -eq 0 ]
	then
		echo "json input be defined"
		exit
	fi
	
while getopts "j:" options; do
    case $options in
        j ) JSON_FILE=`echo $OPTARG`;;
    esac
done

BASEDIR=$(dirname "$0")

. ${BASEDIR}/DDServer.env
	php ${USERMANAGER}/UserManager.php --json $JSON_FILE