Use AccountUser Server-side JavaScript functions to access and modify users authorized to work in your account.

In your server-side JavaScript code, first load the core library using the syntax below:

To interact with an AccountUser via server-side JavaScript, you must first initialize the object. This code initializes an account user with the external key of myAccountUser and the client ID belonging to the AccountUser with the rights to manipulate other users: