Role

A role is a defined access configuration. To set up and manage user access to your NetSuite account, you need to set up roles that can be assigned to users. Roles include sets of permissions for viewing and editing data. Roles and their permissions determine the pages that users can see in the NetSuite interface and the tasks that they can complete. Each role is associated with a center, a UI modeled for a particular business area.

For help working with this record in the UI, see NetSuite Roles Overview.

The internal ID for this record is role.

See the SuiteScript Records Browser for all internal IDs associated with this record.

Note:

For information about using the SuiteScript Records Browser, see Working with the SuiteScript Records Browser in the NetSuite Help Center.

For information about scripting with this record in SuiteScript, see the following help topics:

Supported Script Types

This record is partially scriptable in both client and server SuiteScript.

This record is scriptable in client with browser console only. You cannot deploy any client script on this record.

Supported Functions

This record is not fully scriptable. Only search is permitted. The Role record is supported in all search APIs, excluding the duplicate search APIs.

Usage Notes

To work with this record, a user must have Manage Roles permissions, at Setup > Users/Roles > Manage Roles > Search.

When passing a role into SuiteScript 2.x search functions, the internal ID is case-sensitive and must be capitalized. The search type is Role = search.Type.ROLE. This is unique to the search APIs,

Related Topics

NetSuite Roles Overview
Working with the SuiteScript Records Browser
SuiteCloud Supported Records
Lists

General Notices