10.07.2015 Views

SuiteTalk (Web Services) Platform Guide - NetSuite

SuiteTalk (Web Services) Platform Guide - NetSuite

SuiteTalk (Web Services) Platform Guide - NetSuite

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Roles and Permissions in <strong>Web</strong> <strong>Services</strong>Setting a Default Role for a <strong>Web</strong> <strong>Services</strong> User39Setting a Default Role for a <strong>Web</strong> <strong>Services</strong> UserYou can specify a default role for any user making <strong>Web</strong> services requests. The permissions forthe default role are determined as follows:• First, any role specified in the Passport object of the request is used. The role definedhere must be a valid role contained in the Employee record of the given user. (Forinformation on the Passport object, see login. The Passport object is defined in theplatformCore XSD.)• If a role preference is not set at the request level, then any default <strong>Web</strong> services role asdefined in the <strong>Web</strong> <strong>Services</strong> Preference page for the given user is used.Only one default <strong>Web</strong> services role can be assigned per user and only roles that containthe <strong>Web</strong> services permission can be specified as a default <strong>Web</strong> services role. Note thatthe 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 <strong>Web</strong> services ascompared to the UI.• If neither the request nor the <strong>Web</strong> services default role is set, then the user’s default UIrole is used, provided it has the <strong>Web</strong> services permission.Note: All standard roles have the <strong>Web</strong> services permission by default when the <strong>Web</strong>services feature is enabled. Custom roles, however, must be explicitly set to have<strong>Web</strong> services permissions.To set a specific default role for a <strong>Web</strong> services user:1. Click Setup > Integration > <strong>Web</strong> <strong>Services</strong> Preferences.2. Select the desired user from the Name drop-down list.3. Select the default role to use for <strong>Web</strong> services requests for this user.The internal ID for the selected role automatically populates the ID field.4. Click Add.5. Click Save.Setting a <strong>Web</strong> <strong>Services</strong> Only Role for a UserIn <strong>NetSuite</strong> you can designate a user’s role as <strong>Web</strong> <strong>Services</strong> Only. When a user logs in with arole that has been designated as <strong>Web</strong> <strong>Services</strong> Only, validation is performed to ensure that theuser is logging in through <strong>Web</strong> services and not through the UI.Note: Your account must have the <strong>Web</strong> services feature enabled for the <strong>Web</strong> <strong>Services</strong>Only check box to appear. See Enabling the <strong>Web</strong> <strong>Services</strong> Feature for steps onenabling this feature.The <strong>Web</strong> <strong>Services</strong> Only role increases the security of an integrated application by prohibiting aUI user from accessing the system with permissions and privileges that are specifically createdfor a <strong>Web</strong> services applications. For example, you may have a <strong>Web</strong> services application that<strong>SuiteTalk</strong> <strong>Platform</strong> <strong>Guide</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!