---
schema_version: "1"
id: af406d252912e438d2a1f3920d9c524ff078b34d89ba7b6e4f7f1fe7157bcd4e
title: Activate
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/marketing-cloud/guides/mc-programmatic-content/ssjs_accountUserActivate.md
canonical_url: https://developer.salesforce.com/docs/marketing/marketing-cloud/guide/ssjs_accountUserActivate.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: a70c4cb20f2fc2ede22b1f56b6fcf071987b9bc4962a5e657666b76ad7f1284b
products:
  - Marketing Cloud Engagement APIs and Programmatic Languages
  - Marketing Cloud
---
# Activate

## Overview

Activates an account user

### Syntax

Activate()

## Example

This sample code initializes a specific account and activates that account:

```
var acctUser = AccountUser.Init('myAccountUser', 123456789);
var status = acctUser.Activate();
```
