nuxt-x-app-admin
Users Detail
Full user detail with profile / sessions / accounts / activity tabs and admin actions (ban, reset, impersonate, delete).
Users Detail
Full user detail with profile / sessions / accounts / activity tabs and admin actions (ban, reset, impersonate, delete).
Components
<XAdminUsersDetail />
Props, events, and behaviour reflect the actual <script setup> of XAdmin/Users/Detail.vue in @xenterprises/nuxt-x-app-admin.
<XAdminUsersDetail />
Props
| Prop | Type | Default | Description |
|---|---|---|---|
userId | String | REQUIRED | ID of the user to display. |
endpoint | String | 'admin/users' | Base API endpoint for the user CRUD. |
editable | Boolean | true | Enable inline profile editing. |
showImpersonate | Boolean | true | Show the 'Impersonate' admin action. |
currentSessionId | String | null | Active session ID; used to highlight or hide 'revoke current'. |
Emits
| Event | Payload | Description |
|---|---|---|
ban | varies | Fired after a user is banned. |
unban | varies | Fired after a user is unbanned. |
delete | varies | Fired after a delete succeeds. |
impersonate | varies | Fired when an impersonation starts (Switcher). |
save | varies | Fired after a successful save. |
AI Context
component: XAdminUsersDetail
package: "@xenterprises/nuxt-x-app-admin"
category: Users
source: app/components/XAdmin/Users/Detail.vue
use-when: Full user detail with profile / sessions / accounts / activity tabs and admin actions (ban, reset, impersonate, delete).
