> Portal Navigation: > > - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version. > - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages). > - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`). > - Top-level index of all portals: https://dev.wix.com/docs/llms.txt > - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt # Method name: user() # Method package: wixRouter # Method menu location: wixRouter --> WixRouterSitemapRequest --> user # Method Link: https://dev.wix.com/docs/velo/events-service-plugins/routers/service-plugins/wix-router/wix-router-sitemap-request/user.md # Method Description: Returns the details of the current site user who is logged in. Returns an object with the `id` and `role` of the logged in user who made the request. # Method Code Examples: *** Note: do not assume any prop names or enum values other than the ones in the example. ## Get the user from the request ```javascript export function myRouter_SiteMap(sitemapRequest) { let user = sitemapRequest.user; /* * { * "id": "f6q0fb32-b06r-469f-ag4d-9df89afkj5d9", * "role": "Admin" * } */ } ``` ---