Skip to Content
0

Web-IDE application: retrieve logged user details

Mar 27 at 10:04 AM

59

avatar image

I'm developing an application on Web-IDE (Full-Stack); I would like to retrieve current user details (Name, email, other) as configured in the SCI Tenant. Is there a way to achieve this? Also user groups could be very helpful, we're trying to develop a role-dependent application and the roles should be added through the SCI Tenant cockpit, if possible.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Christian Schuerings
Mar 27 at 01:23 PM
0
Show 4 Share
10 |10000 characters needed characters left characters exceeded

I was looking at this API, but it is under "Applications in the Neo Environment" topic, is this usable anyway?

Our app is developed in Web IDE Full-Stack, so will run on Cloud Foundry.

Thanks in advance

0

Hi Luca,

I am not sure about whether this api is available on Cloud Foundry. Could you give it a try and post an update here?

Otherwise you may run your application on the Neo environment and deploy it from the WebIDE Full-Stack as described here:

https://help.sap.com/viewer/86ce311577794701bae493bddd753aa3/latest/en-US/894bb92f12c24cf1abc987574f8a4cc7.html

Best Regrards

Christian

0
Christian Schuerings

We finally deployed the application on Cloud Foundry. The API is not available on deployed application.

Is there a different way to retrieve logged user details?

0

On Web-IDE Full-Stack the API is working, we're publishing it for the first time now, as soon as I have a feedback I will update the answer.

At the moment I can retrieve user name, display name and groups (using "currentUser" and "attributes" endpoint).

The groups field contains only one group anyway, I will try to find out what this means (my user has multiple groups assigned).

0