I've created a launchpad module using Portal Service (Cloud Foundry). I strictly followed the documentation.
In UI5 application we use the following line to get a user id from the shell container:
sap.ushell.Container.getUser().getId()
It returns a GUID like "99f49ce9-d291-41d6-9ed4-f1fd59933530" but on Neo Portal it returns my SAP user instead, that is correct. At the meanwhile it returns the correct user name and user email.
So my question is should we customize the Portal service to return a valid user id instead of a GUID?
I know a workaround how to get a user id from the application router, but it would be better getting it via shall API as previously.