# Users

> The accounts in your realm, the profile each carries, how you find them, and the one field that turns their access off.

A user is an account in your realm: someone who signs in, holds entitlements, owns secrets and agents, and appears
on your audit trail. Each has a sign-in name, a profile, an optional password, and two fields that decide whether
they may sign in at all, `status` and `accountExpiry`. You add users one at a time or from a script, change any
attribute without resending the rest, and take a user's access away with one field, with nothing deleted.

<CardGrid>
  <LinkCard title="Add and change users" description="Create a user, read them, change only what changed, delete them." href="./add-and-change-users/" />
  <LinkCard title="Turn access off and on" description="What `status` and `accountExpiry` stop, and what they leave alone." href="./turn-access-off-and-on/" />
  <LinkCard title="Search and paging" description="Find users by any attribute, sorted and paged." href="./search/" />
  <LinkCard title="Self-service" description="What a signed-in user reads and manages for themselves." href="./self-service/" />
</CardGrid>

## Capabilities

| Capability | What it gives you |
|---|---|
| [Add and change users](./add-and-change-users/) | Name, email, phone, locale, time zone, language and a password, written and changed through one API, with every rule checked on each write |
| [Passwords carried as hashes](./add-and-change-users/#how-it-works) | A password stored as a bcrypt hash, or a bcrypt hash from another system kept as it is |
| [Turn access off and on](./turn-access-off-and-on/) | An inactive user, or one past their expiry, can't sign in or get a token, and has everything back when set active |
| [Search and paging](./search/) | Every user matching free text or conditions on any attribute, sorted and paged |
| [Change history](../attributes/identity-model/#every-change-is-recorded) | Every change to a user, newest first |
| [Self-service](./self-service/) | A signed-in user reads their own profile and roles, and lists and removes their own passkeys and authenticator apps |

## Related

- [Groups](../groups/): put users in groups, which is how access reaches them.
- [Attributes](../attributes/): add your own attributes to users.
- [Lifecycle](../lifecycle/): what to change when a user joins, moves or leaves.
