cancel
Showing results for 
Search instead for 
Did you mean: 

How to programmatically create users in HANA XSA?

jakob1
Discoverer
0 Kudos

Hello,

We are developing a platform on HANA XSA using Node.js, HDB, SAPUI5 and UAA for user auth. We have a need to create users and assign roles programmatically using some sort of API (using XSA Cockpit to manually manage users is not feasible). We are aware of the Controller and UAA APIs (ControllerAPI by Thomas Jung; related questions though different use cases: one, two) however as in the related posts we are unable to obtain the required scopes "uaa.admin" and "scim.read" because the deployer (deploy-service) says these are "reserved for system usage".

There seems to be some documentation for this functionality (and closely related user self-service) for XS Classic and SAP Cloud Platform however not for XSA. Are we missing something? Any pointers on how to tackle the problem are more than welcome!

Thank you!

Jakob

former_member603682
Discoverer
0 Kudos

Hi! Any updates on that? is possible to create users with an API?

former_member357901
Discoverer
0 Kudos

Jakob,

Were you able programmatically create users and assign role collections via APIs? If so can you post what you did? We are in need of a similar solution.

Accepted Solutions (0)

Answers (1)

Answers (1)

0 Kudos

Hi,

maybe this could help in some way:

SAP HANA Developer Guide for SAP HANA XS Advanced Model - XS CLI: User Administration at: https://help.sap.com/viewer/4505d0bdaf4948449b7f7379d24d0f0d/2.0.03/en-US/4b38012ac63141bfa15bc1cb64...

Best regards,

Alex