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