---
schema_version: "1"
id: 44bdb63038b3630e72f99ce9871a03e362da7e53820934db82f043f14f5be236
title: AuthenticatedEnterpriseID()
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/marketing-cloud/ampscript/references/sites/mc-ampscript-reference-sites-authenticated-enterprise-id.md
canonical_url: https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-sites/mc-ampscript-reference-sites-authenticated-enterprise-id.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 7f5a10514f73aca0ec3ce0209edaba10ff19abf949941bb7d21dc07263213826
products:
  - AMPscript for Marketing Cloud
  - Marketing Cloud
---
# AuthenticatedEnterpriseID()

Returns the enterprise ID of the current authenticated landing page user. Use this function only with Microsites when using Sender Authenticated Redirection. Not for use with CloudPages.

## Availability

<table>
  <tr>
    <td>Marketing Cloud Engagement</td>
    <td>✅ Yes</td>
  </tr>
  <tr>
    <td>Marketing Cloud Next</td>
    <td>❌ No</td>
  </tr>
</table>

## Syntax

The `AuthenticatedEnterpriseID()` function doesn’t accept any parameters.

## Usage

You can call this function without passing any parameters.

```
%%[ Output(AuthenticatedEmployeeUserName()) ]%%
```

The example outputs the enterprise ID of an authenticated landing page user who is accessing the page.
