> ## Documentation Index
> Fetch the complete documentation index at: https://docs.superoffice.com/llms.txt
> Use this file to discover all available pages before exploring further.

# UserGroupLink table

> Link table between associate and usergroup, specifies secondary group membership. From SIX an associate may belong to more than one usergroup. Http;//techdoc.superoffice.com has more information about how roles are implemented.

## UserGroupLink Table (60)

Link table between associate and usergroup, specifies secondary group membership. From SIX an associate may belong to more than one usergroup. Http;//techdoc.superoffice.com has more information about how roles are implemented.

## Fields

| Name                      | Description                                     | Type                            | Nullable |
| ------------------------- | ----------------------------------------------- | ------------------------------- | :------: |
| UserGroupLink\_id         | Primary key                                     | PK                              |    No    |
| assoc\_id                 | Link to associate                               | FK [associate](./associate.mdx) |    No    |
| UserGroup\_id             | Link to group                                   | FK [UserGroup](./usergroup.mdx) |    No    |
| remark                    | Comment on why the assoc is linked to the group | String(254)                     |    Yes   |
| validFrom                 | When the membership becomes valid               | DateTime                        |    Yes   |
| validTo                   | Last datetime this membership is valid          | DateTime                        |    Yes   |
| registered                | Registered when                                 | UtcDateTime                     |    No    |
| registered\_associate\_id | Registered by whom                              | FK [associate](./associate.mdx) |    No    |
| updated                   | Last updated when                               | UtcDateTime                     |    No    |
| updated\_associate\_id    | Last updated by whom                            | FK [associate](./associate.mdx) |    No    |
| updatedCount              | Number of updates made to this record           | UShort                          |    No    |
| encryptedCheck            | Encrypted data, to detect unwanted changes      | String(254)                     |    Yes   |

<img src="https://mintcdn.com/superofficeas/i6M2qZmvMNH7UTeu/media/loc/en/database/tables/UserGroupLink.png?fit=max&auto=format&n=i6M2qZmvMNH7UTeu&q=85&s=9048bcc948673722ec8fff412cb8b37c" alt="UserGroupLink table relationship diagram" width="684" height="66" data-path="media/loc/en/database/tables/UserGroupLink.png" />

## Indexes

| Fields        | Types | Description |
| ------------- | ----- | ----------- |
| assoc\_id     | FK    | Index       |
| UserGroup\_id | FK    | Index       |

## Relationships

| Table                    | Description                                                        |
| ------------------------ | ------------------------------------------------------------------ |
| [associate](./associate) | Employees, resources and other users - except for External persons |
| [UserGroup](./usergroup) | Secondary user groups                                              |

## Replication Flags

* Replicate changes DOWN from central to satellites and travellers.
* Replicate changes UP from satellites and travellers back to central.
* Copy to satellite and travel prototypes.

## Security Flags

* Sentry controls access to items in this table using user's Role and data rights matrix on the table's parent.


## Related topics

- [Lists](/en/api/lists/index.md)
- [UserGroup table](/en/database/tables/usergroup.md)
- [BusinessGroupLink table](/en/database/tables/businessgrouplink.md)
- [CategoryGroupLink table](/en/database/tables/categorygrouplink.md)
- [CurrencyGroupLink table](/en/database/tables/currencygrouplink.md)
- [UDListGroupLink table](/en/database/tables/udlistgrouplink.md)
