Class sap.ushell.services.UserInfoModule: sap/ushell/services/UserInfo


The Unified Shell's user information service, which allows you to retrieve information about the logged-in user.


Since: 1.16.3.
Constructor Summary
new sap.ushell.services.UserInfo()This method MUST be called by the Unified Shell's container only, others MUST call sap.ushell.Container.getService("UserInfo").
Method Summary
getId()Returns the id of the user.
Constructor Detail
new sap.ushell.services.UserInfo()
This method MUST be called by the Unified Shell's container only, others MUST call sap.ushell.Container.getService("UserInfo"). Constructs a new instance of the user information service.
See:
sap.ushell.services.Container#getService
Method Detail
getId(): string
Returns the id of the user.
Since:
1.16.3
Returns:
{string} The user id.