# Users

> A login account.

Subject: System.

A login account. user_id is the number other tables use (created by, employees). Which administrations a user may use is in AdministrationAuthorizations.

Label in Fledge: Gebruikers.

| | |
| --- | --- |
| URL | `https://odata-api.fledge.nl/v2-8/Users` |
| Key | `account_name` |
| Administration-specific | no |
| Operations | GET list, GET one, POST, PATCH, DELETE |
| Read licenses | BASIS, BASISAPP, URENPC |
| Write licenses | BASIS, BASISAPP |
| Scopes | FLEDGE_PORTAL, FLEDGE_TERMINAL |

## Example requests

```http
GET https://odata-api.fledge.nl/v2-8/Users?$select=account_name,default_administration_id,is_blocked,name&$top=50
GET https://odata-api.fledge.nl/v2-8/Users('{account_name}')
```

## Fields

| Field | Type | Description |
| --- | --- | --- |
| `account_name` (key) | String, not null | Aanmeld naam. The login name. |
| `default_administration_id` | Int32 | Default Administratie. The administration opened at login, when the user may open it; else the one last used in that browser, else the lowest administration_id. |
| `default_financial_year` | Int32 | Def Boekj: Default Boekjaar |
| `department_id` | String | Afdeling |
| `email` | String | Mail adres van de gebruiker |
| `function` | String | Functie van de gebruiker |
| `initials` | String | Initialen |
| `is_blocked` | Boolean | Geblokkeerd (j/n). The account is blocked. |
| `iso_language_code` | String | ISO taalcode |
| `name` | String | Volledige naam: Gebruikersnaam is identiek aan _User._User-name !. The full name. |
| `sex` | String | Sexe van de gebruiker |
| `user_id` | Int32, not null | Gebruikersnummer: Gebruikers nummer, ook een unieke key voor de tabel |

## Relations

- `AdministrationAuthorizations` → [AdministrationAuthorizations](https://docs.fledge.nl/en/api/reference/AdministrationAuthorizations.md) (many)
- `Agents` → [Agents](https://docs.fledge.nl/en/api/reference/Agents.md) (many)
- `Employees` → [Employees](https://docs.fledge.nl/en/api/reference/Employees.md) (many)
- `Salesmen` → [Salesmen](https://docs.fledge.nl/en/api/reference/Salesmen.md) (many)

---

Source: https://docs.fledge.nl/en/api/reference/Users
