on 05-19-2017 9:10 PM
Hi Team,
I am developing a new SAP WEB UI5 application.
I want to fetch the current logged in user name i.e. something like "HttpContext.Current.User.Identity.Name.ToUpper()" in .Net.
I need above code equivalent in SAP UI . i am new to this technology.
Please help.
Thanks,
Ganesh
what's your runtime?abap, java......
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
Answer to your question is available on below page
Currently Logged in User SAPUI5
Thank you !
Silent Monk
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
If you are using the SAP IDS or Custom IDS for authentication than you can user details through usersapi service of HCP. Follow this blog for step by step method to get the logged in user details
https://blogs.sap.com/2015/04/16/using-the-hcp-user-api-in-web-ide/
thanks
Viplove
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.