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:

NameTypeDescription
data.nameStringthe name of the user displayed in the sidebar menu. This is required
data.pictureStringthe URL of the user's avatar displayed in the sidebar menu
logoutUrlStringan URL or path to logout the user. This is required.