# UserDocumentCategoryLinks

> Whether a user may read or write the documents of a category.

Subject: Documents.

Whether a user may read or write the documents of a category.

Label in Fledge: Koppeling gebruikers met doc.categorie.

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

## Example requests

```http
GET https://odata-api.fledge.nl/v2-8/UserDocumentCategoryLinks?$select=document_category_id,user_id,read,write&$top=50
GET https://odata-api.fledge.nl/v2-8/UserDocumentCategoryLinks(document_category_id='{document_category_id}',user_id={user_id})
```

## Fields

| Field | Type | Description |
| --- | --- | --- |
| `document_category_id` (key) | String | Documentcategorie code |
| `user_id` (key) | Int32, not null | Gebruikersnummer: Gebruikers nummer, ook een unieke key voor de tabel |
| `read` | Boolean | Lezen: Leesbevoegdheid ja/nee |
| `write` | Boolean | Schrijven: Schrijfbevoegdheid ja/nee |

## Relations

- `DocumentCategory` → [DocumentCategories](https://docs.fledge.nl/en/api/reference/DocumentCategories.md) (one)
- `User` → [Users](https://docs.fledge.nl/en/api/reference/Users.md) (one)

---

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