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

# User Management

> Invite users, manage roles, and organize groups.

# User Management

Administrators manage users and groups from the **User Management** section in the sidebar.

## Users tab

### Viewing users

The Users tab shows all users in your organization:

* **Name** and **email**
* **Role** (Admin or Member)
* **Status** (Active, Invited, Deactivated)
* **Last active** date

### Inviting users (SaaS)

In SaaS deployments, administrators invite users manually:

1. Click **Invite User**
2. Enter the user's email address
3. Select their role (Admin or Member)
4. Click **Send Invitation**

What happens next depends on whether the address already has a Neural Factory account:

* **A new address** gets an account in your organization right away, and an email with a link to create a password. The person appears in the Users list at once.
* **An existing account** gets an invitation. The person receives an email naming your organization and the role, and answers the next time they sign in: a dialog lets them **Accept** or **Decline**. Nothing about their account changes until they accept. On accepting, they join your organization with the invited role, their personal plan ends, and their agents, knowledge bases, skills, toolkits and API keys move into the organization.

Invitations waiting for an answer are listed under **Pending invitations** below the Users list, with **Withdraw** next to each. An invitation expires 7 days after it was sent; inviting the same person again replaces the pending invitation and restarts the clock.

### Enterprise user provisioning

In enterprise deployments, users are provisioned automatically via Azure AD. When a user signs in with their corporate credentials for the first time, they are automatically added to the organization. Role assignments are mapped from AD groups or directory roles.

### Managing roles

To change a user's role:

1. Find the user in the list
2. Click the role indicator or edit action
3. Select the new role
4. Save the change

### Deactivating users

To remove a user's access:

1. Find the user in the list
2. Click the deactivate or remove action
3. Confirm

Deactivated users can no longer sign in or access any resources. Their conversation history is preserved.

On Enterprise deployments, removing a user also deletes the long-term memories agents saved about them, their agent schedules and the stored state of their agent runs. Their conversation history is still preserved.

## Groups tab

### Creating groups

1. Switch to the **Groups** tab
2. Click **Create Group**
3. Enter a group name and optional description
4. Click **Create**

### Managing group membership

1. Click on a group to open its details
2. Click **Add Members**
3. Search for and select users
4. Click **Save**

To remove a member, click the remove action next to their name in the group detail view.

### Enterprise: Azure AD sync

In enterprise deployments, groups are synced from Azure AD. Manually created groups can supplement AD groups, but AD-synced groups and their memberships are managed in Azure AD.


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