Skip to Content
0
Oct 08, 2020 at 02:25 PM

SAP Cloud Platform NEO - ADFS: get logged user groups in sapui5 app

89 Views

Hello experts,

i'm developing a sapui5 application - with Web IDE Full Stack - that render different subsection based on the logged user groups.

The SCP NEO subaccount is trusted by ADFS and in the app i'm able to retrieve /currentUser and /attributes info about the logged user with the User API (https://help.sap.com/viewer/ea72206b834e4ace9cd834feed6c0e09/Cloud/en-US/1de599bf722446849d2b2e10132df42a.html). There is a way to pass the user groups within this API or other APIs and retrieve it on sapui5 app?

Thanks in advance