cancel
Showing results for 
Search instead for 
Did you mean: 

User ID - MDK

04-05-2023 9:58 AM
ashish_kumar2905 Participant
955 views 3 comments
0 Likes
SAP Managed Tags
Subscribe

Hi Experts,

Is there any way to get S-UserID instead of email id. Currently it is returning email id as user id using following api :

let aID = clientAPI.evaluateTargetPath('#Application/#AppData/#Property:UserId'); let userID = clientAPI.evaluateTargetPath('#Application/#ClientData/#Property:UserId');Thank you.
0 Likes

Accepted Solutions (0)

Answers (2)

Answers (2)

Jitendra_Kansal
Product and Topic Expert
Product and Topic Expert
0 Likes

To my knowledge, in Cloud Foundry environment, you will always get the E-Mail from SAP Default IdP.

In custom IdP, you can configure to return user id though.

Jitendra_Kansal
Product and Topic Expert
Product and Topic Expert
0 Likes

The UserId value is coming from the identity provider set up in your BTP subaccount (Security > Trust Configuration).

Are you using the default SAP IdP or your own IdP?

ashish_kumar2905
Participant
0 Likes

SAP Default IDP. Please guide us how to setup the configuration