> For the complete documentation index, see [llms.txt](https://docs.cremawork.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cremawork.com/v2.0/loggedin-user.md).

# Loggedin User

To get the data of logged in user wherever you need, simply write one line code i.e.<br>

```
const user = useAuthUser();
```

You have to import useAuthUser from **src/@crema/utility/AppHooks.js**
