on 01-28-2021 6:49 PM
Hello Experts,
I am now trying to retrieve some useful information from a logged user (email, name, surname, etc) in my HTML5 Cloud Foundry App.
I have already connected my Azure AD with my SAP SCP Cloud Foundry environment, that is not a problem.
So, how do i get the information that I need?
Do I have to create a new destination to a xsuaa service or something?
Do I have to activate another SCP service?
Is there an available ajax call that I could use?
Thanks in advance.
You got the perfect timing for this question 🙂
SAP just released a new version of the Approuter that takes care of this a few days ago. vvdries already wrote a post about this yesterday: https://blogs.sap.com/2021/01/28/sap-approuter-user-api-service
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This absolutely great! Finally a standard approach to access the user details on cloud foundry!
Looking forward to try this one out myself!
Great indeed Geert-Jan! Really nice we can consume the user information this way from now on! 🙂
Hi,
There's no standard service you can use to retrieve the user details on cloud foundry. There are however a few approaches you can use to retrieve the user information.
Did you have a look at this blog? (Show current user details in Cloud Foundry apps with IAS | SAP Blogs)
I would expect solution 1, 2 & 3 at least to be an option for you as well. (the last solution relies on the fact that you're using IAS and not Azure directly)
Best regards,
Geert-Jan Klaps
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
76 | |
10 | |
8 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.