Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to return/read BTP user logged?

jessicademarchi
Product and Topic Expert
Product and Topic Expert
1,797

Hi, Builders

I'm developing a web application using SAP Build Apps, I'm also using BTP authentication and BTP destination.
My question is: how can I return/read the user logged (email, ID... anything) using this authentication method?
I'm trying to save this information using the output 1 of the logic "Authenticates with SAP BTP", but it's empity. There is another way to do that?

Thank you,
Jessica

2 REPLIES 2
Read only

jessicademarchi
Product and Topic Expert
Product and Topic Expert
1,650

Builders, here is the solution: https://blogs.sap.com/2022/10/24/getting-btp-user-information-in-appgyver/

You can only get user data to deployed app, not in preview app, but it works!

Read only

patty_1982
SAP Champion
SAP Champion
1,598

Hi Jessica,

yes, the information regarding the logged user are available only on deployed app.