Directory & LifecycleMarkdown
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.
Add and change users Create a user, read them, change only what changed, delete them.
Turn access off and on What `status` and `accountExpiry` stop, and what they leave alone.
Search and paging Find users by any attribute, sorted and paged.
Self-service What a signed-in user reads and manages for themselves.
Capabilities
Section titled “Capabilities”| Capability | What it gives you |
|---|---|
| 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 | A password stored as a bcrypt hash, or a bcrypt hash from another system kept as it is |
| 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 | Every user matching free text or conditions on any attribute, sorted and paged |
| Change history | Every change to a user, newest first |
| Self-service | A signed-in user reads their own profile and roles, and lists and removes their own passkeys and authenticator apps |
Related
Section titled “Related”- Groups: put users in groups, which is how access reaches them.
- Attributes: add your own attributes to users.
- Lifecycle: what to change when a user joins, moves or leaves.