Description
Returns the list of users of an organization.
The current user must have administrator rights.
URL
https://api.skriv.com/v1/user/getList
GET parameters
| Field | Type | Description |
|---|---|---|
| orgId | int | Organization ID |
Response
List of users (see below).
User
| Field | Type | Description |
|---|---|---|
| id | int | User ID |
| dateCreation | datetime | Creation date |
| string | Email address | |
| name | string | User name |
| lang | enum | User language: 'en' or 'fr' |
| isValid | bool | true if the account was validated (the user connected), false otherwise |
| isActive | bool | true if the account was activated (the user entered her name), false otherwise |
| dateInvitation | datetime | Date of invitation, or null if the current user is the organization's creator |
| dateInvitationAccepted | datetime | Date of when the invitation was accepted |
| dateLastAccess | datetime | Date of the last access of the user on this organization |
| isAdmin | bool | true is the current user has administrator rights on this organization, false otherwise |
| roles | list | List of roles (see below) |
Role
| Field | Type | Description |
|---|---|---|
| id | int | Role ID |
| name | string | Role name |