> ## Documentation Index
> Fetch the complete documentation index at: https://developers.resistant.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# User management

> What Admins can do in Admin Settings → User management: invite users, change roles and remove users, depending on how your organization signs in and manages roles.

Admins manage who can do what in **Admin Settings → User management**. What they can do depends on where your organization manages roles. See [Sign-in and roles](https://developers.resistant.ai/view-results/web-ui/authentication-options.md).

| Action | Password accounts | SSO, roles managed in Resistant Documents | SSO, roles from your identity provider |
| - | - | - | - |
| View users and user statistics | ✓ | ✓ | ✓ |
| Invite a user | ✓ (activation email sent) | ✓ (no email sent) | In your IdP |
| Change a user's role | ✓ | ✓ | In your IdP |
| Delete a user | ✓ | ✓ (also block them in your IdP) | In your IdP |

## Opening User management

1. Click your **profile icon** in the top-right corner of the Web UI.
2. Select **Admin Settings**.
3. Click **User management** in the left sidebar.

**Admin Settings** appears only for users with the Admin role.

To check which setup your organization uses, look at **Authentication method** in Tenant configuration. **Username and password** means password accounts. For **Single sign-on (SSO)**, the banner at the top of User management tells you where roles are managed:

| Setup | Banner |
| - | - |
| SSO, roles managed in Resistant Documents | "Your organization uses SSO authentication. Users sign in through your identity provider. You invite users and manage their roles here." |
| SSO, roles from your identity provider | "Your organization uses SSO authentication. Manage users and access in your identity provider." |

## What you see

* **User statistics:** the number of Admins, Analysts and Viewers
* **User table:** name, email, role, account created, last login
* With roles managed in Resistant Documents: the **Invite User** button, the **Role** dropdown in each row, and the **⋯** menu for removing users

![User management page with user statistics, the user table, and the Invite User button](https://mintcdn.com/resistantai/jrdvhQqulxsWPQYD/images/local_password_admin.png?fit=max\&auto=format\&n=jrdvhQqulxsWPQYD\&q=85\&s=f299812936da902818d1cbe286bf8b88)

## Roles

| Role | Permissions | Typical users |
| - | - | - |
| **Viewer** | View analysis results (read-only) | Compliance reviewers, auditors, stakeholders |
| **Analyst** | Upload documents and view results | Fraud analysts, investigators, operations teams |
| **Admin** | Analyst permissions plus User management | Team leads, onboarding coordinators |

All Admins have the same permissions, and any Admin can make another user an Admin.

***

## When roles are managed in Resistant Documents

This covers **password accounts** and **SSO with roles managed in Resistant Documents**.

### Invite a user

1. Click **Invite User**.
2. Enter the user's **business email** and **full name**, and select a **role** (Viewer, Analyst or Admin). With SSO, use the email address your IdP sends in the `email` attribute.
3. Confirm. The user appears in the list straight away. **Last login** stays empty until they sign in for the first time.

What happens next depends on how users sign in:

> [tab] Password accounts
>
> The user receives an email with an activation link, valid for **2 days**. They set a password and can then sign in. If the link expires, remove the user and invite them again.
>
> > [!WARNING]
> >
> > Use business email addresses. Personal addresses (gmail.com, yahoo.com, etc.) may be blocked.

> [tab] SSO
>
> **No email is sent.** Tell the user through your own channels and share your Web UI URL. They sign in with your corporate SSO. Resistant Documents matches them by email to the user you invited and applies the role you gave them.
>
> The user must also be allowed to use the Resistant Documents application in your IdP. Otherwise they can't sign in, whatever their role.

### Change a role

1. Find the user in the table.
2. Select a new role in the **Role** dropdown.

The change takes effect straight away. A user who is signed in may need to refresh the page.

### Remove a user

1. Click the **⋯** menu in the user's row.
2. Select **Delete user** and confirm.

The user loses access to the tenant straight away. Their submissions and analysis history stay in the system for audit purposes. To keep their history visible but limit what they can do, change their role to Viewer instead.

> [!NOTE]
>
> **With SSO**, removing a user takes away their role in Resistant Documents, but they can still sign in through your IdP; they'll just see that they have no access. To fully offboard someone, also block them in your IdP, as you would for any other application.

### The last Admin

Every tenant must always have at least one Admin. If you're the only Admin, you can't delete yourself or change your own role. Keep at least two Admins so that access management never depends on one person. If all your Admins leave, see [First Admin](#first-admin).

### Users without a role (SSO)

With SSO, anyone your IdP lets through can sign in, even before an Admin has given them a role. In the Web UI they see:

* **No access to this tenant**, with the names and emails of the tenant's Admins to contact, if they have no role in this tenant
* a page saying they have **no access to any tenant** of your organization, if they have no role anywhere

They can't view or do anything until an Admin assigns them a role.

***

## When roles come from your identity provider

Admins can **view** users and statistics, but invites, role changes and removals happen in your IdP through the `documents_roles` attribute. There are no Invite, Role or Delete controls. See [Roles from your identity provider](https://developers.resistant.ai/view-results/web-ui/roles-from-identity-provider.md).

This keeps your IdP the single source of truth for access. If you'd rather manage roles in the Web UI, stop sending `documents_roles`; everyone keeps their current role. See [Switching where roles are managed](https://developers.resistant.ai/view-results/web-ui/roles-from-identity-provider.md#switching-where-roles-are-managed).

***

## First Admin

| Setup | How the first Admin is set up |
| - | - |
| Password accounts | Resistant AI Support creates the account during onboarding; you receive an activation email |
| SSO, roles managed in Resistant Documents | Resistant AI Support gives the Admin role to the email you name; no email is sent. When switching from IdP roles, your existing Admins stay Admins. |
| SSO, roles from your identity provider | Your IdP sends `<tenant_id>_ADMIN` in `documents_roles` |

If your organization has no Admin left, contact Support at [support@resistant.ai](mailto:support@resistant.ai) with your tenant name or ID, the stage (Testing or Production) and the email of the new Admin.

## Testing and Production

Testing and Production are separate tenants with separate user lists. To give someone access to both, an Admin of each tenant invites them there (it can be the same Admin if they have access to both).

## FAQ

> [accordion] Can I export the user list?
>
> Not in the Web UI. For a CSV export for compliance or reporting, contact your Resistant AI Customer Success Manager.

> [accordion] Can a user change their own password?
>
> With password accounts, yes: they use **Forgot password** on the sign-in page. Admins can't reset other users' passwords. With SSO, passwords are managed by your IdP.

> [accordion] A user never received their invitation email
>
> With password accounts, check the spam folder, the email address, and whether corporate filters block Resistant AI's sending domain. If it persists, contact [support@resistant.ai](mailto:support@resistant.ai). With SSO, no invitation email is sent; tell the user yourself.

> [accordion] Why do I see users I don't recognize?
>
> If your organization recently moved from password accounts to SSO, some users may still use their old password sign-in. Contact [support@resistant.ai](mailto:support@resistant.ai) to migrate them.

> [accordion] Can I see what a removed user submitted?
>
> Yes. Removing a user doesn't delete their submissions or analysis history.

> [!NOTE]
>
> Moving from password accounts to SSO? Existing password users stay accessible until Resistant AI Support completes the migration. Contact Support before you switch.

## Next steps

* [Sign-in and roles](https://developers.resistant.ai/view-results/web-ui/authentication-options.md): compare setups
* [Roles from your identity provider](https://developers.resistant.ai/view-results/web-ui/roles-from-identity-provider.md): `documents_roles` and switching
* [Accessing the Web UI](https://developers.resistant.ai/view-results/web-ui/access.md): URLs, deep links, Testing vs Production


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.