User
💡
This documentation covers an older version of Next Admin. If you are using the
latest version (>=5.0.0
and above), please refer to the current
documentation.
The user
property allows you to define the user displayed in the sidebar menu.
Its an object that can have the following properties:
Name | Type | Description |
---|---|---|
data.name | String | the name of the user displayed in the sidebar menu. This is required |
data.picture | String | the URL of the user's avatar displayed in the sidebar menu |
logoutUrl | String | an URL or path to logout the user. This is required. |