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

# Users

> Create and manage users in your directory: their profiles, lifecycle statuses, and the difference between suspending and removing.

A **user** is someone in your directory. Each user has a sign-in identity, a
profile made up of attributes, and a status that reflects where they are in
their lifecycle. You manage users from **Directory** in the left-hand
navigation bar (under **Identity**), on the **Users** tab. The list shows each
user's name, status, username, domain, primary email, role, source, and
sign-in activity.

<Note>
  Use these steps to manage users one at a time. To add many users at once, see
  [Importing users](/en/identity/directory/importing-users) or sync them from an
  HR system with [Directory Sync](/en/identity/directory/directory-sync).
</Note>

## Create a user

<Steps>
  <Step title="Navigate to Directory">
    Navigate to **Directory** in the left-hand navigation bar (under
    **Identity**).
  </Step>

  <Step title="Open the Users tab">
    Select the **Users** tab if it isn't already selected.
  </Step>

  <Step title="Add a user">
    Select **+ User** in the upper-right. A blank profile form opens.
  </Step>

  <Step title="Enter the essentials">
    Give the user a name, a username, and at least one email address. The
    username and a domain together form how the user signs in.
  </Step>

  <Step title="Add an additional email (optional)">
    Select **+ Add** under **Additional Emails** if you want an alternate
    address for their invitation, such as a personal email.
  </Step>

  <Step title="Fill in the rest of the profile">
    Add any other built-in details (phone numbers, addresses, a role) and fill
    in the custom attributes you have defined in your
    [schema](/en/identity/directory/schema).
  </Step>

  <Step title="Create">
    Select **Create**. The user is created with a **pending** status.
  </Step>

  <Step title="Send the invitation (optional)">
    After the user is created, a prompt asks whether to send the invitation
    now. Choose the email address that should receive the invite, such as
    their work or personal address, then select **Send now**. Or select
    **Later** to dismiss the prompt and send the invitation from the user's
    menu when you're ready.
  </Step>
</Steps>

A user created this way has a **source** of having been added manually, which
distinguishes them from users brought in by import or HR sync.

## The user profile

A profile is a collection of facets. Some are built in; the rest are the custom
attributes you define. Built-in facets include:

| Facet | Notes |
| - | - |
| **Name** | The user's name, used to build their display name. |
| **Emails** | One or more email addresses, each with a label such as work or personal. One is the primary email. |
| **Phone numbers** | Zero or more numbers, each labeled. |
| **Addresses** | Zero or more addresses, each labeled. |
| **Username and domain** | Together, the identifier the user signs in with. |
| **Role** | The role the user holds, which governs what they can do in Iru. See [Administrators & roles](/en/identity/administration/administrators-and-roles). |
| **Status** | Where the user is in their lifecycle: pending, active, or suspended. |
| **Source** | Where the user originated: added manually, imported, or synced from an HR system. |

Beyond these, every **custom attribute** you define appears on the profile in
its category. See
[Schema](/en/identity/directory/schema) for how
the schema is built.

<Info>
  The attributes on a profile are the raw material that applications and
  policies use. An application maps profile attributes into the identity details
  it receives, and an [Auto Group](/en/identity/directory/auto-groups) can
  compute its membership from an attribute's value.
</Info>

## Find and filter users

The users list can be filtered, searched, and saved as reusable **views** -
useful once your directory grows beyond a handful of users.

### Filters

Add a **filter** to narrow the list by any attribute, built-in (status, domain,
role, created date) or a custom attribute you have defined. Pick the attribute,
choose an operator such as **equals**, and set the value; add more than one filter
to combine conditions.

<Frame caption="A filter narrowing the list to a single domain.">
  <img src="https://mintcdn.com/iru/yv46VZ-WbN1GdStp/assets/media/images/users-filter.webp?fit=max&auto=format&n=yv46VZ-WbN1GdStp&q=85&s=3bea4cb85e442947633e34f860a8379b" alt="The Users list filtered by Domain equals accuhive.com, shown as a removable filter chip above the list." width="2000" height="1131" data-path="assets/media/images/users-filter.webp" />
</Frame>

### IQL filters

For more precise queries, switch the list from **Standard** to **IQL** and write
the filter as an [IQL](/en/identity/getting-started/iql-expressions) expression,
for example `domain == "accuhive.com"`. This is the same expression language that
powers Auto Group rules and mapping.

<Frame caption="The same filter written as an IQL expression.">
  <img src="https://mintcdn.com/iru/yv46VZ-WbN1GdStp/assets/media/images/users-iql-filter.webp?fit=max&auto=format&n=yv46VZ-WbN1GdStp&q=85&s=12a4fa1b64be41c759d49fefa326a3ec" alt="The Users list in IQL mode with the expression domain == accuhive.com in the search bar and a Revert button." width="2000" height="1135" data-path="assets/media/images/users-iql-filter.webp" />
</Frame>

### Saved views

Once you have built a filter you will reuse, open **Options → Create view**, give
it a name, and save it. The view remembers your filters, so you can return to the
same slice of the directory in one click.

<Frame caption="Saving the current filter as a named view.">
  <img src="https://mintcdn.com/iru/yv46VZ-WbN1GdStp/assets/media/images/users-create-view.webp?fit=max&auto=format&n=yv46VZ-WbN1GdStp&q=85&s=535016d06d2310eadab3cb6df5b48571" alt="The Create view option with a name field set to Accuhive.com and a Save button." width="2000" height="1129" data-path="assets/media/images/users-create-view.webp" />
</Frame>

## User statuses

A user is always in one of three statuses, and you can filter the users list by
status.

<CardGroup cols={3}>
  <Card title="Pending" icon="hourglass-half">
    Created but not yet active. This is where a freshly added or imported user
    starts, before they finish setting up their account.
  </Card>

  <Card title="Active" icon="circle-check">
    Fully enabled. The user can sign in and reach the applications assigned to
    them.
  </Card>

  <Card title="Suspended" icon="ban">
    Access is blocked, but the record and history are preserved. The user
    cannot sign in until they are reinstated.
  </Card>
</CardGroup>

### Suspending vs. removing

Both stop a user from signing in, but they are different tools for different
situations.

<AccordionGroup>
  <Accordion title="Suspend (reversible)" icon="user-lock">
    Suspending blocks a user's access while keeping their record, profile, and
    history intact. Reinstating a suspended user returns them to the status they
    held before, so this is the right choice when someone is on leave, under
    investigation, or being offboarded but not yet fully gone. You can suspend a
    user whether they are active or still pending.
  </Accordion>

  <Accordion title="Remove - permanent" icon="user-xmark">
    Removing a user deletes their directory record. Reach for this only when a
    user has left for good and you no longer need to keep their identity. When
    your HR system is connected, an offboarding there can remove users from the
    directory automatically; see
    [Directory Sync](/en/identity/directory/directory-sync).
  </Accordion>
</AccordionGroup>

<Warning>
  Removing a user cannot be undone. If there is any chance the user will
  return, or you need to retain their history, suspend them instead.
</Warning>

## Inviting users

A newly created user is **pending** until they finish setting up their account.
Inviting a user sends an invitation to their email with a secure link to
complete first-time setup, including registering an
[authenticator](/en/identity/authentication/authenticators) such as a passkey.

By default, invitations go to the user's **primary email**. If the profile has
an additional email (typically a personal address), you can send the invitation
there instead. Use that when the user cannot open their work mailbox until they
have a passkey.

* You can invite a single user from their profile, or invite pending users in
  bulk from the users list.
* Invitations expire **48 hours** after they are sent. You can resend one if it
  was missed or has expired; sending a new invitation supersedes any earlier one
  for that user.

<Note>
  A tenant's **first invitation** is the exception. It goes to the tenant's
  [account owner](/en/identity/administration/administrators-and-roles) and stays
  valid for up to **14 days**, as long as that account owner hasn't signed in yet.
  Every invitation after it uses the 48-hour window.
</Note>

### Resend invites in bulk

<Steps>
  <Step title="Open pending users">
    Navigate to **Directory** in the left-hand navigation bar (under
    **Identity**). Select the **Users** tab if it isn't already selected. Open
    **Preset Views** and choose **Pending**.
  </Step>

  <Step title="Open Resend invites">
    Select the **ellipsis** in the upper-right, then select **Resend invites**.
  </Step>

  <Step title="Choose the destination email">
    Use **Set all to** to send every selected invite to **Primary email** or
    **First additional email**. Clear or select checkboxes to exclude or include
    users. To choose an address for one user, open that row's **Email** dropdown
    and pick the address.
  </Step>

  <Step title="Send">
    Select **Send**.
  </Step>
</Steps>

### Resend an invite for one user

<Steps>
  <Step title="Open the user">
    Navigate to **Directory** in the left-hand navigation bar (under
    **Identity**). Select the **Users** tab if it isn't already selected, then
    open the user record.
  </Step>

  <Step title="Resend invite">
    Select the **ellipsis**, then select **Resend invite**.
  </Step>

  <Step title="Choose which email receives the invite">
    Select the primary email or an additional email, then select **Send**.
  </Step>
</Steps>

<Tip>
  If a user loses access to their authenticators, **Reset** them from the user's
  profile. A reset removes their registered authenticators, ends their active
  sessions, and returns them to **pending**; then send a fresh invitation so they
  can register a new authenticator. (Sending an invitation is blocked while a user
  still has authenticators, which is why you reset first.)
</Tip>

## Next steps

<CardGroup cols={2}>
  <Card title="Shape your profiles" icon="table-list" href="/en/identity/directory/schema">
    Define the custom attributes every user profile can hold.
  </Card>

  <Card title="Organize users into groups" icon="users" href="/en/identity/directory/groups">
    Assign access to groups instead of individuals so it scales.
  </Card>

  <Card title="Import in bulk" icon="file-arrow-up" href="/en/identity/directory/importing-users">
    Add many users at once from a CSV file.
  </Card>

  <Card title="Automate the lifecycle" icon="building-user" href="/en/identity/directory/directory-sync">
    Let your HR system create, update, and remove users for you.
  </Card>
</CardGroup>
