cancel
Showing results for 
Search instead for 
Did you mean: 

How to fetch Role and Group assigned to SID in HTML5 application using BAS in Cloud foundry?

mishra_mayank
Explorer
0 Kudos
451

Hello everyone!

We are migrating our all old UI5 projects from neo to cloud foundry. In neo we used Authorization Management API for fetching roles and group assigned in neo cloud platform using API : "https://api.hana.ondemand.com/authorization/v1/documentation". But now in cloud foundry how to assign similar role, groups to html5 application in SAP BTP and then fetch details in frontend code BAS. Please can anyone provide solution or step by step documentation for solving these issues.Thank you!

Regards

Accepted Solutions (0)

Answers (1)

Answers (1)

mariusobert
Developer Advocate
Developer Advocate
0 Kudos

You can retrieve user information via the User API Service of the approuter. In case you need more information than the provided object offers, please refer to the first comment of that post that explains how to extend a standalone approuter.