---
schema_version: "1"
id: e3e97e509c3011165bd195c5e29d68b3e9fad53b13ca3485118fdf47177f64bb
title: AuthenticatedEmployeeId()
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-employee-id.md
canonical_url: https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-sites/mc-ampscript-reference-sites-authenticated-employee-id.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 2fab9e5bd4b2e948efe818d8ce0f48c486316cf9865fd78daf4e6e05cf74d5dd
products:
  - AMPscript for Marketing Cloud
  - Marketing Cloud
---
# AuthenticatedEmployeeId()

Returns the employee ID of the current Marketing Cloud Engagement 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 `AuthenticatedEmployeeID()` function doesn’t accept any parameters.

## Usage

You can call this function without passing any parameters.

```
%%[ Output(AuthenticatedEmployeeID()) ]%%
```

The example outputs the employee ID of the Marketing Cloud Engagement user who is accessing the page.
