Users
Retrieve users
const rql = rqlBuilder().eq('email', '[email protected]').build();
await exh.users.find({
rql,
});{
"id": "abcdef0123456789abcdef01",
"first_name": "John",
"last_name": "Doe",
"language": "EN",
"email": "[email protected]",
"phoneNumber": "+32012345678",
"timeZone": "Europe/London",
"activation": true,
"roles":[...],
"staffEnlistments":[...],
"patientEnlistments":[...]
"lastFailedTimestamp": 1632733680,
"failedCount": 0,
"creationTimestamp": 1632733681,
"updateTimestamp": 1632733682
}{
"id": "abcdef0123456789abcdef01",
"first_name": "John",
"last_name": "Doe",
"language": "EN",
"email": "[email protected]",
"phoneNumber": "+32012345678",
"timeZone": "Europe/London",
"activation": true,
"patientEnlistments": [...] //only the groups where you are staff
}Attribute
Description
Create a new user
Check for email availability
Email verification
Resending email verification
Performing a user activation
Clearing user activation attempts
Change email address
Password reset
Requesting a password reset email
Resetting a password
Clearing password reset attempts
Password Change
Removing a user
Using pin codes for email verification
Setting up pin code mode
Using the pin code mode in the account activation flow
Using the pin code mode in the forgot password flow
Last updated