You are here: File Descriptions > Resource Manager > OSUR - User Roles

# OSUR - User Roles

The User Roles File stores roles that are allowed for each OSAS user.

| Template: | DIM OSUR:"USRID:C(12*), CID:C(3*), ROLEID:C(12*)"

Key Definitions

| Key Number | Field | Description
| 0 | [1:1:12] + | User ID +
|  | [2:1:3] + | Company ID +
|  | [3:1:12] | Role ID
| 1 | [3:1:12] + | Role ID +
|  | [2:1:3] + | Company ID +
|  | [1:1:12] | User ID
| 2 | [2:1:3] + | Company ID +
|  | [3:1:12] + | Role ID +
|  | [1:1:12] | User ID
|  | __________ |
|  | 9 segments |

User Roles

| File Name: | OSUR | Record Size: | 30(64)
| File Type: | Mkeyed - Dynamic | Number of Keys: | 3

| Field | Field Name | Description | A/N | Length | Note
| 1 | USRID | User ID | A | 12 |
| 2 | CID | Company ID | A | 3 |
| 3 | ROLEID | Role ID | A | 12 |