Retrieve User Information - ABO

Back Office Integration Guide

Product
ABO
AFS_Version
7.9
Category
Reference Guide
language
English

Users can retrieve user information by running the following command:

curl http://$BACK_OFFICE_HOST/bo-ws/myself?afs:login=login://$USER_LOGIN:$USER_PASSWORD@LDAP

Where

  • $BACK_OFFICE_HOST is the Back Office host, used to access the Back Office.
  • $USER_LOGIN is the login of the user.
  • $USER_PASSWORD is the current password of the user.

XML output example

<?xml version="1.0" standalone="yes"?>
<afs:value xmlns:afs="http://ref.antidot.net/v7/bo/output" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://ref.antidot.net/v7/bo/output http://ref.antidot.net/v7.4/bo/output.xsd" xsi:type="afs:ws.response">
<afs:query xsi:type="afs:ws.response.query">
<afs:locale>*</afs:locale>
<afs:parameters/>
<afs:properties xsi:type="afs:dynamic"/>
</afs:query>
<afs:result xsi:type="afs:bows.model.user" partial="true" reference="/bo-ws/user/87">
<afs:id>87</afs:id>
<afs:accountManager>false</afs:accountManager>
<afs:companyManager>false</afs:companyManager>
<afs:displayName>aaa</afs:displayName>
<afs:eMail>aaa@aaa.aaa</afs:eMail>
<afs:email>aaa@aaa.aaa</afs:email>
<afs:firstName>aaa</afs:firstName>
<afs:globalAdmin>false</afs:globalAdmin>
<afs:lastName/>
<afs:robot>false</afs:robot>
</afs:result>
</afs:value>

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