Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
New to NetSuite | N/auth: auth.changePassword(options) Method
in SuiteCloud
In our previous article, New to NetSuite | Understanding SuiteScript 2.x Modules, we explored the SuiteScript Modules and N/record module, New to NetSuite | N/auth Module Overview, which is used to interact with records. Now, we will take a closer look at one of the members of N/auth: auth.changePassword(options) Method
The auth.changePassword(options) method allows you to programmatically change a user's password within NetSuite. This method changes the current user's NetSuite password through a server-side script. It can be useful for enforcing password change policies or building custom password reset forms.
Syntax
auth.changePassword({
currentPassword: 'mycurrentPWD', Richard James Uri - SuiteCloud | WMS Tech | SuiteCommerce Advanced
----
- NetSuite Admin Corner | New to NetSuite
- Explore the NSC Webinars Category
- Join our poll and share your ideas! We want to know what you think. Don't forget to comment and make your voice heard!
- Expand your NetSuite knowledge by joining this month's Ask A Guru Live about Suitebuilder . RSVP on this event now!
Tagged:
0
