User
A User represents an actor who interacts with the platform and is identified by a unique email address.
User vs Account
The distinction between User and Account is important:
- A
Useris the authenticated identity (a person) with credentials. - An
Accountis the legal holding vehicle (individual, corporate, or joint).
A single user can have multiple accounts (e.g., a personal account and a company account). Conversely, a joint account involves two users sharing one account, or a corporate account can involve the CEO and accountant.
This relationship is somewhat similar to the one used in the intermediated placement thanks to the Advisors.
User Groups (Teams)
Users are organized into UserGroup. Each group defines a shared set of roles and permissions. Admins can assign users to different groups to fine-tune their access rights.
query {
GetUser(id: "456") {
id
active
email
firstName
lastName
userGroup {
id
name
persona
}
accounts {
id
label
}
# ...Other User fields
}
}
→ Type reference: User
User Lifecycle
| State | Description |
|---|---|
| Pending | User has registered but is awaiting admin approval — active: null (and acceptedAt null) |
| Active | User is approved and can log in — active: true (acceptedAt is set) |
| Inactive | User has been deactivated — active: false, with the reason given in unactiveComment |
activeis tri-state (nullable). Both pending and inactive users receive the sameAccount is disabled.message at login. A pending user only remains reachable through impersonation.
Key Fields at a Glance
| Field | Type | Description |
|---|---|---|
id | ID | Unique identifier |
email | String! | Email address (used for login) |
firstName | String | First name |
lastName | String | Last name |
mobile | String | Mobile phone number |
active | Boolean | Whether the user is active |
acceptedAt | DateTime | When the user was accepted (null = pending) |
userGroup | UserGroup | The team / permission group |
accounts | [Account]! | Accounts this user can access, via a permission grant (Read / KycWrite / Write). Use userAccountPermissions to read the access level |
userAccountPermissions | [UserAccountPermission] | Accessible accounts with their permission level (Read / KycWrite / Write) |
unactiveComment | String | Reason the account was deactivated |
isPasswordDefined | Boolean | Whether the user has set a password (useful for onboarding flows) |
userAccountNotifications | [UserAccountNotification] | Mailing-list subscriptions |
locale | SupportedLocale | Preferred language locale |
lastLogin | DateTime | Timestamp of the last successful login |
Related Queries & Mutations
| Operation | Reference |
|---|---|
| Fetch a single user | GetUser |
| List all users | GetUsers |
| Create a user (authenticated) | CreateUser |
| Create a user (public / self-registration) | CreateUser (public) |
| Activate a user | ActivateUser |
| Deactivate a user | DeactivateUser |
| Update user info and permissions | UpdateUserInfosAndPermissions |