cancel
Showing results for 
Search instead for 
Did you mean: 

How to the logged in user in SAP android app ?

former_member545775
Participant
0 Kudos

Hi Experts,

I started using SAP Cloud platform SDK for Android and everything is going find except one thing.

I am using the standard onboarding using username ( my SUser ) and passowrd, now inside the application i want to find the logged user ID so i use it in some sort if integration but i cannot find it anywhere.

any help with that would be very appreciated.

Best Regards;

Haitham Emam

Accepted Solutions (1)

Accepted Solutions (1)

BWomelsdorf
Advisor
Advisor

h-emam - you can use the User Information APIs to get the logged in user. Check out the documentation here - https://help.sap.com/doc/c2d571df73104f72b9f1b73e06c5609a/Latest/en-US/docs/user-guide/foundation/us.... It has some sample code. For more code you can check out daniel.vanleeuwen's step by step guide. Code on how to obtain the logged in user can be found the Authentication section: https://blogs.sap.com/2018/10/15/step-by-step-with-the-sap-cloud-platform-sdk-for-android-part-3-aut....

Answers (0)