on 03-13-2014 8:40 AM
Hi,
In SAP Fiori, how do I get the id of the user who is currently logged in? is there a service or API that is readily available to get the information? Can anyone mention how to get the current logged in user.
Hi Vijai,
You can refer this link for your question. https://scn.sap.com/thread/3538527
Regards,
Bince
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
A Shortcut to your query will be :
Open your app in google chrome, Right click and turn on Inspect element :
Click on Login details as below :
You will get login information : With which user you are logged in in the popup.
Now if you want to customize and know from where these details are coming then turn on Inspect element(shortcut - F12) and go to network tab and again click on Login details, you will get the source like below :
Hope this is what you want.
Regards,
Tejas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vijay,
Could you share business requirements behind this question?
Regards,
Masa
SAP Customer Experience Group - CEG
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vijai,
You can look at the code for launchpad. Launchpad has login details info.
Please install the latest UI add-on which has UI extension points.
Please use new SAP Fiori Launchpad
Regards,
Masa
SAP Customer Experience Group - CEG
On the UI side, I believe there is no way. There is no control on the login page.
The logged in information is available at gateway layer and can be passed to UI if required.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
11 | |
11 | |
10 | |
10 | |
8 | |
6 | |
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.