# EmployerUsersLinkedDepartmentsByEmployerId
Get the list of departments that the user has access to
__Activity name:__ GetEmployerUsersLinkedDepartmentsByEmployerId
Get the list of departments that the user has access to
Select loket.nl (REST) API URL: /providers/employers/{employerId}/users/departments
Insert loket.nl (REST) API URL: /providers/employers/{employerId}/users/departments
Update loket.nl (REST) API URL: /providers/employers/{employerId}/users/departments
Delete loket.nl (REST) API URL: /providers/employers/{employerId}/users/departments
Select loket.nl (REST) API Operation: get /providers/employers/{employerId}/users/departments
- Catalog: `LoketNlRest`
- Schema: `LinkedDepartments`
- Field Selection Method: NotRequired
- Base Path: `_embedded[*]`
This is a read-only table function. The loket.nl (REST) API may not support changing the data or the Invantive SQL driver for loket.nl (REST) does not cover it. In the latter case, please use the table NativePlatformScalarRequests to upload data to the loket.nl (REST) API.
## Parameters of Table Function
| Name | Data Type | Required | Default Value | Documentation |
|---|:---:|:---:|:---:|---|
| `employerId` | `guid` | ☑ | | The unique identifier of the employer |
## Columns of Table Function
The columns of the table function `EmployerUsersLinkedDepartmentsByEmployerId` are shown below. Each column has an SQL data type.
| Name | Data Type | Label | Required | Documentation |
|---|:---:|---|:---:|---|
| `personalDetails_firstName` | `string(28)` | | ☐ | The first name of the user |
| `personalDetails_initials` | `string(6)` | | ☐ | The initials of the user |
| `personalDetails_lastName` | `string(25)` | | ☐ | The last name of the user |
| `personalDetails_prefix` | `string(10)` | | ☐ | The prefix of the user |
| `userId` | `guid` | | ☐ | The unique identifier of an object (GUID/UUID) |