Setting a Default Role for a SOAP Web Services User
You can specify a default role for any user making SOAP web services requests. The permissions for the default role are determined as follows:
-
If a role preference is not set at the request level, then any default SOAP web services role as defined in the Web Services Preference page for the specific user is used.
Only one default SOAP web services role can be assigned per user and only roles that contain the SOAP web services permission can be specified as a default SOAP web services role. Note that the user may be assigned a different role than those specified in their employee record. In other words, a user may have greater or lesser permissions using SOAP web services as compared to the UI.
-
If neither the request nor the SOAP web services default role is set, then one of these roles is used, selected in the following order:
-
A non-Customer Center role in the account, indicated as the default role.
-
A non-Customer Center role in the account, selected based on the last login date.
-
A Customer Center role in the account, indicated as the default role.
-
A Customer Center role in the account, selected based on the last login date.
-
All standard roles have the SOAP web services permission by default when the SOAP web services feature is enabled. Custom roles, however, must be explicitly set to have SOAP web services permissions. For information about creating custom roles, see Customizing or Creating NetSuite Roles
To set a specific default role for a SOAP web services user:
-
Go to Setup > Integration > Integration Management > SOAP Web Services Preferences.
-
Select the user from the Name list.
-
Select the default role to use for SOAP web services requests for this user.
The internal ID for the selected role automatically populates the ID field.
-
Click OK.
-
Click Save.
Related Topics
- Roles and Permissions in SOAP Web Services
- Role and Permission Considerations When Developing in SOAP Web Services
- Assigning the SOAP Web Services Permission to a Role
- Setting a Web Services Only Role for a User
- Customer Center, Vendor Center, and Partner Center Roles
- Internal IDs Associated with Roles