X Enterprises
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

PropTypeDefaultDescription
userIdStringREQUIREDID of the user to display.
endpointString'admin/users'Base API endpoint for the user CRUD.
editableBooleantrueEnable inline profile editing.
showImpersonateBooleantrueShow the 'Impersonate' admin action.
currentSessionIdStringnullActive session ID; used to highlight or hide 'revoke current'.

Emits

EventPayloadDescription
banvariesFired after a user is banned.
unbanvariesFired after a user is unbanned.
deletevariesFired after a delete succeeds.
impersonatevariesFired when an impersonation starts (Switcher).
savevariesFired 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).
Copyright © 2026