# XWUIAuthUsersAdmin

Admin-only user-management table mirroring KEYSTONE's `/users` view: composes enterprise/XWUIDataGrid with per-column renderers that wire in basic/XWUIChip (role badge) and basic/XWUIDisplayBadge (active/disabled pip), plus a row-actions cell (promote/demote, reset password, deactivate, delete). Use it for an RBAC operator surface where `data.currentUserId` suppresses destructive actions on the operator's own row.

## Basic Usage

KEYSTONE-style admin table; `currentUserId: "u-04"` matches the 4th row, so that row renders a "you" tag instead of action buttons.

```example
file: examples/BasicUsage.ts
html: examples/BasicUsage.html
title: Basic Usage
description: Admin user table with role chips, status pips, and a self-row guard on the super_admin row.
```

## Soft-delete Only

A team roster where `hideDeleteAction: true` removes the destructive Delete button (deactivate-only) and the Create button is hidden for SSO-provisioned products.

```example
file: examples/SoftDeleteOnly.ts
html: examples/SoftDeleteOnly.html
title: Soft-delete Only
description: A "Team members" table with the hard-delete action hidden and no Create button, leaving promote/reset/deactivate.
```

## Paginated Directory

A 32-user organization directory that crosses the page-size threshold so the grid paginates, with a self-row guard on the operator's row.

```example
file: examples/PaginatedDirectory.ts
html: examples/PaginatedDirectory.html
title: Paginated Directory
description: A 32-row org directory with pageSize 10 to demonstrate grid pagination, varied roles/statuses, and the "you" guard.
```

```api
```
