on 12-02-2016 6:17 PM
I am currently developing a HANA XS application but I don't know how to get the current logged user. Is there any way to get this info without using any SAP Library?
Thanks for the answer!
The problem is solved. I am actually using the user API for this purpose.
https://help.hana.ondemand.com/help/frameset.htm?1de599bf722446849d2b2e10132df42a.html
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I think you are talking about XS Classic, right? In that case you can define an XSJS service which uses $.session.getUsername() to get the XS session user. That XSJS service can be called with the Angular.js service $http for instance.
Regards,
Florian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
11 | |
10 | |
9 | |
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.