cancel
Showing results for 
Search instead for 
Did you mean: 

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

e_giunta
Participant
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

gregorw
Active Contributor

Have you created an Attribute Mapping in the Trust Configuration?

e_giunta
Participant
0 Kudos

Hi Gregor,

thanks for answer; yes I've created the attributes mapping on trust configuration and I'm able to retrieve these data from user API.

My question is about the groups