on 08-05-2015 1:07 PM
Hi
Is there any sapui5 library which i can use to get the logged on sso user in HTML5 application on HANA Cloud Platform.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
You could try the following if you are using the Launchpad.
sap.ushell.Container.getService("UserInfo")
sap.ushell.Container.getService("UserInfo").getId()
Cheers
Andrew
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Have you tried it?
var oModel= new sap.ui.model.json.JSONModel();
oModel.loadData("http://<server host>:<server port>/sap/bc/ui2/start_up");
var myFullName = oModel.getData().fullname;
User | Count |
---|---|
84 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
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.