btp-ui5-show-userinfo
A UI5 app that reads the signed-in user two ways, through the Fiori launchpad shell service and through the @sap/approuter@sap/approuterSAP's Node.js application router: the single entry point in front of a business application's microservices, which authenticates the user, forwards each request to a backend by route and serves static content.sap official, btp User API, and records which environments each answers in.
Which of the two ways to the signed-in user's name and e-mail answers depends on where the app runs, and the README records that as one table per way. sap.ushell.services.UserInfo returns dummy values in local development, answers in SAP Build Work Zone, and is not available when the app is opened directly from the SAP HTML5 Application Repository service for SAP BTPSAP HTML5 Application Repository service for SAP BTPStores built UI5 and HTML5 applications and serves them at runtime through the approuter, so an app ships no static server of its own.sap official, btp; the @sap/approuter@sap/approuterSAP's Node.js application router: the single entry point in front of a business application's microservices, which authenticates the user, forwards each request to a backend by route and serves static content.sap official, btp endpoints /currentUser and /attributes answer in both of those and not locally, since they are the router's own. Each table is followed by the JSON the endpoint returned, so the fields are visible without deploying: the shell service gives ID only in an S/4HANA launchpad, and /attributes adds user_uuid. The README states one boundary, that /attributes cannot retrieve custom attributes beyond the ones it lists, and cites KBA 3115516 for it.
Facts
Where it sits
Who is behind it
In the atlas: maintains 47, contributes to 47, wrote 10@miyasutamaintainer
Before choosing this
Signals
LicenceNo licenseNeither the package manifest nor the repository tree declares a licence
Without a licence the default is all rights reserved. Ask the maintainer, or check for terms stated elsewhere, before depending on it.
Conditions
PracticalFunctional boundary
The repository publishes no licence, so reusing its code needs the author's permission.
What it declares
Every artifact
- Type
- Sample
- Origin
- Independently maintained
- Use as
- A reference
As a sample
- Form
- A reference application
Connections
Establishing who is calling and making that identity available
SAP's Node.js application router in front of business applications
SAP's Node.js application router in front of business applications
Download
README
quoted from miyasuta/btp-ui5-show-userinfo, readShow User Info
A sample application to explore methods for retrieving user information in UI5 applications deployed on SAP BTP.
Details
Sources
Sources are graph entities: the same page may back several entries, and an unreachable source flags every row that rests on it.
Compatibility and provenance
History in the atlas
- First seen.
For your agent
- Ref
artifact:miyasuta-btp-ui5-show-userinfo- JSON
- /artifacts/miyasuta-btp-ui5-show-userinfo.json
- MCP
- Connecting an agent