role
Defines user roles within the system, specifying access levels and permissions.
Columns
| Name | Type | References | Description |
| id | Integer | The unique identifier (Id) assigned to each role within the NetSuite environment. | |
| restrictbydevice | Boolean | Indicates whether the role is restricted to specific devices for security purposes. When the value is 'true,' users can access NetSuite only from approved devices. | |
| ispartnerrole | Boolean | Specifies whether the role is designated exclusively for partner users, providing specific permissions tailored for external partners interacting with NetSuite. | |
| issinglesignononly | Boolean | Determines if the role is restricted to Single Sign-On (SSO) authentication methods only, disallowing traditional username/password logins. | |
| accountingbooksoption | String | Defines the available options for selecting accounting books accessible by this role, such as 'ALL', 'PRIMARY', or specific accounting book IDs. | |
| issalesrole | Boolean | Indicates whether this role is specifically tailored for sales users, granting permissions related to sales operations, transactions, and CRM functionalities. | |
| subsidiaryviewingallowed | Boolean | Specifies whether the role permits viewing data across multiple subsidiaries within the organization, enabling cross-subsidiary visibility when the value is 'true.' | |
| scriptid | String | A unique script Id for this role, commonly used when referencing roles via SuiteScript or external integrations. | |
| subsidiaryoption | String | Determines the subsidiary access level options associated with the role, including 'ALL', 'OWN_SUBSIDIARY', or a specific list of subsidiary IDs. | |
| coreadminpermission | Boolean | Identifies whether the role possesses core administrative permissions, allowing comprehensive administrative actions within the NetSuite environment. | |
| restricttimeandexpenses | Boolean | Indicates whether the role imposes restrictions on the entry and approval of employee time and expenses, enforcing stricter control over related records. | |
| accountingbooksrestriction | String | Specifies any restrictions applied to accounting book access, potentially limiting the role's visibility and operational scope to certain accounting books. | |
| name | String | The human-readable descriptive name assigned to this role, facilitating easy identification and assignment by system administrators and users. | |
| effectivesubsidiaries | String | Lists the subsidiaries effectively accessible by this role, represented as a comma-separated string containing subsidiary IDs or the keyword 'ALL'. | |
| issupportrole | Boolean | Indicates whether the role is specifically designed for customer support operations, providing specialized permissions for handling support cases and customer interactions. | |
| subsidiaryrestriction | String | Defines restrictions placed on subsidiaries that the role can access, limiting interactions and operations to specified subsidiaries or groups. | |
| iswebserviceonlyrole | Boolean | Specifies whether the role is exclusively intended for web service interactions, restricting regular user interface access and ensuring the role, used solely for API-based integrations. | |
| effectiveaccountingbooks | String | Lists accounting books that are effectively available to this role, represented as a comma-separated string of accounting book IDs or the keyword 'ALL'. | |
| employeerestriction | String | Indicates restrictions applied to employee visibility and selection for this role, such as 'NONE', 'OWN', or specific employee group identifiers. | |
| employeeviewingallowed | Boolean | Determines if the role allows the user to view employee records outside of their immediate organizational unit or reporting structure. | |
| employeeselectionunrestricted | Boolean | Identifies whether the role can select from an unrestricted list of employees when assigning transactions or activities, bypassing normal employee-based security restrictions. | |
| centertype | String | Specifies the type of NetSuite center (user interface context) assigned to this role, such as 'ACCOUNTING', 'SALES', 'SUPPORT', or other defined centers. |