MyRoles
Provides a detailed list of roles assigned to the authenticated user, including cross-account access roles where applicable. Useful for auditing user permissions and role-based access control analysis in NetSuite.
Columns
| Name | Type | Description |
| AccountId | String | The unique identifier for the account associated with this role. Typically corresponds to an internal account record in NetSuite, ensuring the correct account is linked to the user role. |
| RoleId | String | The internal identifier assigned to the role by NetSuite. This identifier is essential for role management and is used in system-level permissions and security settings. |
| AccountName | String | The official name of the account as recorded in NetSuite. This field is often referenced in reports and is visible to users to help identify the account with which the role is associated. |
| RoleName | String | The descriptive name of the role as defined in NetSuite. This name is used for assigning access levels, defining user responsibilities, and managing permissions. |