CMDBuild Forum

Create new user in CMDBuild/OpenMaint using REST API

Cant' find REST API for creating new user in CMDBuild/OpenMaint in web service mannual.

 

Can anybody point to the REST request for creating new user?

 

Thanks in advance.

There is currently no REST method available to create a new user.
CMDBuild Team

Previously Tecnoteca wrote:

There is currently no REST method available to create a new user.
CMDBuild Team
Thanks Tecnoteca  , Would there be SOAP API available for user creation?
There is not even SOAP method to create users.
We suggest to create a postgres stored procedure that creates a user directly on the database. Then you can call this stored procedure using the REST webservices.
In particular, REST calls are:
/services/rest/v2/functions to have a list of all the functions from which you can get the id of the newly created stored procedure.
/services/rest/v2/functions/{id}/outputs?parameters={"username":"user","password":"pwd"} to execute the function. The parameters parameter is an encoded JSON object that contains the input parameters of the function.
 
CMDBuild Team
 
Previously Vishnudas wrote:
Previously Tecnoteca wrote:
There is currently no REST method available to create a new user.
CMDBuild Team
Thanks Tecnoteca  , Would there be SOAP API available for user creation?