Setting a Default Role for a SOAP Web Services User
A default role can be set for users making SOAP web services requests. Default role permissions are determined by the following rules:
-
If no role is specified in the request, the default SOAP web services role from the user's Web Services Preference page is used.
Each user can have only one default SOAP web services role, which must include the SOAP web services permission. The assigned role may differ from the one in the user's employee record. This means SOAP web services permissions can be different from UI permissions.
-
If no role is specified in the request or as a default, a role is selected based on 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