Modules

filter

 

Objects/Functions

module (N/auth)

SuiteScript 2.0

auth.changePassword(options)

{auth}.changePassword({currentPassword: {string*},newPassword: {string*}})

N/auth Module
auth.changePassword()
Method Description: Changes the current user’s NetSuite password. See Creating a Strong Password for information on valid passwords.
Returns: void
Supported Script Types: Server-side scripts For additional information, see SuiteScript 2.0 Script Types.
Governance: 10 units
Module: N/auth Module
Since: 2015.2
Search NetSuite - https://system.netsuite.com/app/help/helpcenter.nl?search=auth.changePassword(options)

Example:

// Code Example 1
//Add additional code
//...
auth.changePassword({
currentPassword: 'mycurrentPWD',
newPassword: 'mynewPWD_2*'
});
//...
//Add additional code

//SOURCE: https://system.netsuite.com/app/help/helpcenter.nl?fid=section_4298157647.html