---
schema_version: "1"
id: 52bbffd58ce218d628374a0d03185e9cd12b001ba87722333b375419eb523e3b
title: UserFunctions
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/marketing-cloud/guides/mc-programmatic-content/ssjs_accountUserFunctions.md
canonical_url: https://developer.salesforce.com/docs/marketing/marketing-cloud/guide/ssjs_accountUserFunctions.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 946909199332eec624269a7bbbb80e3b7009bd4134744812dd75288d27cf05de
products:
  - Marketing Cloud Engagement APIs and Programmatic Languages
  - Marketing Cloud
---
# UserFunctions

Use AccountUser Server-side JavaScript functions to access and modify users authorized to work in your account.

## Load

In your server-side JavaScript code, first load the core library using the syntax below:

```
Platform.Load("core", "1");
```

## Initialization

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:

```
var targetUserKey = 'myAccountUser';
var myClientID = 123456789;

var acctUser = AccountUser.Init(targetUserKey, myClientID);
```
