Indexed User Fields
On this page
If you are using the Elasticsearch engine, you can search for users by the following attributes.
| Name | Description |
|---|---|
active | Whether the user is active. |
birthDate | The birthdate of the user. |
breachedPasswordLastCheckedInstant | The date the user's password was last checked for breach, as an Instant. |
breachedPasswordStatus | The user's breached password status. |
data | The user's data object. This is arbitrary JSON and all fields in this object are indexed. |
email | The user's email address. |
fullName | The full name of the user. |
id | The Id of the user. |
insertInstant | The date the user was inserted, as an Instant. |
lastLoginInstant | The date the user last logged in, as an Instant. |
lastUpdateInstant | The date the user was most recently updated, as an Instant. |
legacyIdentifier | The legacy identifier of the user. Available since 1.67.0 |
login | The login identifier of the user. |
memberships | The groups the user is a member of. See the memberships field of the User object for details. |
mobilePhone | The mobile phone number associated with the user. |
parentEmail | The parent email associated with this user. |
passwordChangeRequired | Whether or not the user must change their password. Available since 1.63.0 |
phoneNumber | The primary phoneNumber of the user. Available since 1.59.0 |
preferredLanguages | A list of the locales of the preferred languages of the user. |
registrations | The registrations for the user. See the Registration object for details. |
tenantId | The tenant Id of the tenant of which the user is a member. |
timezone | The timezone of the user. |
twoFactor | The two factor configuration of the user. See the twoFactor field of the User object for details. |
username | The username of the user. |
verified | Whether or not the user's email address has been verified. |
verifiedInstant | The date the user's email address was verified, as an Instant. Available since 1.48.0 |
Exact Match Fields#
Available since1.49.1
Elasticsearch splits the username and fullName fields into words. A search on username:bob.smith@example.com can return other users whose usernames share words with bob.smith@example.com. To match the whole value, search the matching .exact field instead:
username.exact: the whole username.fullName.exact: the whole full name.
An .exact search ignores case, so fullName.exact:"bob smith" matches a user named Bob Smith. When the value contains a space, wrap the value in double quotes. Without quotes, Elasticsearch searches each word separately, and the search can return more users. For an example request, see Exact Username or Full Name.
Related
Learn about the entity fields that are indexed and searchable.
API documentation for the Search for Users API.
Learn about search options within FusionAuth.
Learn about the different data types used by FusionAuth.