> ## 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.

# UserRoleLink table

> Link between user role and user

## UserRoleLink Table (192)

Link between user role and user

## Fields

| Name                      | Description                                | Type                            | Nullable |
| ------------------------- | ------------------------------------------ | ------------------------------- | :------: |
| UserRoleLink\_id          | Primary key                                | PK                              |    No    |
| associate\_id             | Link to associate                          | FK [associate](./associate.mdx) |    No    |
| role\_id                  | Link to Role                               | FK [Role](./role.mdx)           |    No    |
| linkType                  | Reserved for future extension, not used    | UInt                            |    No    |
| encryptedCheck            | Encrypted data, to detect unwanted changes | String(254)                     |    No    |
| 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    |

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

## Indexes

| Fields | Types | Description |
| ------ | ----- | ----------- |

## Relationships

| Table                    | Description                                                                                                                                                                                        |
| ------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [associate](./associate) | Employees, resources and other users - except for External persons                                                                                                                                 |
| [Role](./role)           | User roles for role-based security, names and tooltips are in LocaleText. For more information regarding role based security, see [http://techdoc.superoffice.com](http://techdoc.superoffice.com) |

## 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

- [StakeholderRoleGroupLink table](/en/database/tables/stakeholderrolegrouplink.md)
- [FunctionRightRoleLink table](/en/database/tables/functionrightrolelink.md)
- [StakeholderRoleHeadingLink table](/en/database/tables/stakeholderroleheadinglink.md)
- [UserGroupLink table](/en/database/tables/usergrouplink.md)
- [Role table](/en/database/tables/role.md)
- [Protected tables](/en/api/bulk-operations/mass-operations/protected-tables.md)
