user_create_w_workspace.cmd 606 B

123456789
  1. REM ** Creates single user and creates own workspace structure **
  2. REM ** AppServer must be started first / this script must be run in same directory as BO.Console**
  3. REM ** MODIFY <user_name>, <user_password>, <user_email> before run! **
  4. echo [{"name":"<user_name>","password": "<user_password>","email": "<user_email>","langlcid": 1033,"roles":["User"]} > new_user.json
  5. echo [{"name":"<user_name>","apipassword": "<user_password>","billingplancode": "UNLIMITED","assignedusername": "<user_name>"}] > new_workspace.json
  6. BO.Console user_add -in:new_user.json
  7. BO.Console workspace_add -in:new_workspace.json