Skip to Content
0
Aug 22, 2023 at 07:47 AM

Get the roles of the logged in user in my sapui5 application

416 Views

Hello experts, I have managed to obtain the current user and some scopes appear that are not defined, I have read that I need to implement a custom logic to obtain the roles that I define in my btp cockpit, I have tried to follow the post https://blogs .sap.com/2021/02/20/sap-tech-bytes-approuter-user-api-service/ with the first comment but I can't understand where I should put that code and how I implement it for my launchpad deployment. Thank you so much

image.png

Attachments

image.png (22.5 kB)