SAP Builders Discussions
Join the discussion -- ask questions and discuss how you and fellow SAP Builders are using SAP Build, SAP Build Apps, SAP Build Process Automation, and SAP Build Work Zone.
cancel
Showing results for 
Search instead for 
Did you mean: 

How to return/read BTP user logged?

jessicademarchi
Product and Topic Expert
Product and Topic Expert
1,575

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

jessicademarchi
Product and Topic Expert
Product and Topic Expert
1,428

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!

patty_1982
Contributor
1,376

Hi Jessica,

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