Create a User - ABO

Back Office Integration Guide

Product
ABO
AFS_Version
7.9
Category
Reference Guide
language
English

To create a user on the Back Office, run the following command as a user with "Admin" rights:

curl -H Expect: -H "Content-type: application/json" --data '{"x:type":"bows.model.user", "displayName":"$USER_NAME", "email":"$USER_MAIL", "x:metadata":{"x:type":"x:dynamic", "login":"$USER_LOGIN", "password":"$USER_PASSWORD"}}' http://$BACK_OFFICE_HOST/bo-ws/user?afs:login=login://$ADMIN_LOGIN:$ADMIN_PASSWORD@LDAP

Where

  • $USER_NAME is the name of the user to create.
  • $USER_MAIL is the email address of the user to create.
  • $USER_LOGIN is the login used by the user to create to log into the Back Office.
  • $USER_PASSWORD is the password used by the user to create to log into the Back Office.
  • $BACK_OFFICE_HOST is the Back Office host, used to access the Back Office.
  • $ADMIN_LOGIN is the login of the Back Office administrator.
  • $ADMIN_PASSWORD is the password of the Back Office administrator.

This feature only works if the Back Office is configured for internal users.