> ## Documentation Index
> Fetch the complete documentation index at: https://superofficeas-bugfix-ty-screen-designer-paradox.mintlify.site/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-bugfix-ty-screen-designer-paradox/A8Y_bcgEblTh4XOv/media/loc/en/database/tables/UserRoleLink.png?fit=max&auto=format&n=A8Y_bcgEblTh4XOv&q=85&s=2dec14cc2153a41d1cf8ec26c2defe24" 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.
