Skip Navigation

Programmatic Marketing Content

control-j is the search shortcutj
Introduction to Programmatic Marketing Content
AMPscript
Guide Template Language
Server-Side JavaScript
Server-Side JavaScript Syntax Guide
Account Functions
AccountUser Functions
Activate
Add
Deactivate
Retrieve
Update
Content Area Functions
Data Extension Functions
DateTime Functions
Delivery Profile Functions
Email Functions
Events Functions
Filter Defintion Functons
Folder Functions
HTTP Functions
List Functions
Portfolio Functions
Query Definition Functions
Recipient Functions
Send Classification Functions
Send Functions
Sender Profile Functions
Subscriber Functions
Template Functions
Triggered Send Functions
Utilities Functions
Platform Functions
Server-Side JavaScript Sample Code
Use Server-Side JavaScript with AMPscript
Use Server-Side Javascript via WSProxy with the SOAP API
Server-Side JavaScript/Server-Side JavaScript Syntax Guide/AccountUser Functions/Update

Update

Overview

Updates the account and returns a status

Syntax

Update(1)

Function Properties

Ordinal Type Description
1 string Required Attributes regarding account to change

Example

This sample code changes the password of the account user specified by the external key.

var acctUser = AccountUser.Init('myAccountUser', 123456789);
var status = acctUser.Update({ "Password" : "XXXXX" });
Last Updated: Jun 8, 2021

Salesforce logo