Cmdlets for NetSuite

Build 25.0.9434

RoleId Parameter (Connect-NetSuite Cmdlet)

Specifies the InternalId of the NetSuite role used for authentication. Leave this property empty to use the user's default role.

Syntax

Connect-NetSuite -RoleId string

Data Type

cstr

Default Value

""

Remarks

This property is used along with User, Password, and AccountId to authenticate to NetSuite.

  • If RoleId is not set, the user's default role is used.
  • To find a RoleId, log into NetSuite and navigate to: Setup > Integration > Web Services Preferences. Here, you can select a different Web Services Default Role and obtain its InternalId, displayed next to the role name.

This property is required when specifying a non-default role for authentication.

Copyright (c) 2025 CData Software, Inc. - All rights reserved.
Build 25.0.9434