REM ** Creates single user and creates own workspace structure **
REM ** AppServer must be started first / this script must be run in same directory as BO.Console**
REM ** MODIFY <user_name>, <user_password>, <user_email> before run! **

echo [{"name":"<user_name>","password": "<user_password>","email": "<user_email>","langlcid": 1033,"roles":["User"]} > new_user.json
echo [{"name":"<user_name>","apipassword": "<user_password>","billingplancode": "UNLIMITED","assignedusername": "<user_name>"}] > new_workspace.json

BO.Console user_add -in:new_user.json
BO.Console workspace_add -in:new_workspace.json