rolerestrictions
Tracks restrictions associated with user roles, limiting access to specific records or actions.
Columns
| Name | Type | References | Description |
| role | Integer | The unique identifier (Id) for the role associated with the restriction. This value references a specific role defined in NetSuite, determining which user or group is impacted by the given restriction. | |
| itemsrestricted | Boolean | Boolean flag indicating whether item-level restrictions apply to the specified role. A value of 'true' means that the role's access to certain items is restricted, while 'false' indicates no such restrictions. | |
| segment | Integer | The Id for the segment associated with the restriction. This segment typically corresponds to a specific NetSuite classification, department, or location that further qualifies the scope of the restriction. | |
| viewingallowed | Boolean | Boolean indicator specifying if the role has viewing permissions despite restrictions. When set to 'true', the role can view restricted items or segments; when 'false', viewing is prohibited. | |
| restriction | String | Defines the type or nature of the restriction applied to the role. Possible values are ACCOUNT, CLASS, DEPARTMENT, LOCATION, SUBSIDIARY, ITEM, or other NetSuite-specific categorizations, clearly identifying the domain of the restriction. |