---
title: Variables
slug: nmdm/admin-guide/engb/vnow/variables
createdAt: 2026-09-24T14:49:10.000Z
---

You can use variables in certain configuration fields to represent values specific to a given user. Any field that supports variables displays a list of supported variables if you type $ in the field. This section contains the following topics:

## Supported user account variables

### User Variables

::Image[]{src="https://api.archbee.com/api/optimize/V3jJx_afLEcmDauLTrzss/n0qPiHVCTthW9-XU-hUy-_awvariables.png" position="flex-start" size="40" width="396" height="217" initialPath="awvariables.png" githubPath="en-gb/awvariables.png" showCaption="false"}

| **Variable key** | **Value description**                                                                    |
| ---------------- | ---------------------------------------------------------------------------------------- |
| $                | department attribute (requires Entra ID)                                                 |
| $                | Electronic Data Interchange-Personal Identifier                                          |
| $                | User's Managed Apple ID                                                                  |
| $                | sAMAccountName attribute (requires Active Directory)                                     |
| $                | Common Name (CN) attribute extracted from the distinguished name (requires LDAP)         |
| $                | Display name                                                                             |
| $                | Distinguished Name (requires LDAP)                                                       |
| $                | The domain part of the email address (part after '@')                                    |
| $>               | The local part of the email address (part before '@')                                    |
| $                | Email address                                                                            |
| $                | Forename                                                                                 |
| $                | Surname                                                                                  |
| $                | Locale                                                                                   |
| $                | Organisational Unit (OU) attribute extracted from the distinguished name (requires LDAP) |
| $                | Kerberos Realm information (requires Active Directory)                                   |
| $                | The domain part of the login ID (the part after '@')                                     |
| $                | The local part of the login ID (the part before '@')                                     |
| $                | Login ID (email address format)                                                          |
| $                | userPrincipalName attribute (requires Active Directory)                                  |

## Supported device variables

Use device variables to specify information about a mobile device.

### Device Variables

::Image[]{src="https://api.archbee.com/api/optimize/V3jJx_afLEcmDauLTrzss/Xb765LXfspF47zXsFQ4Zg_variablesubstitution.png" position="flex-start" size="80" width="2820" height="1592" initialPath="Resources/Images/VariableSubstitution.png" githubPath="en-gb/Resources/Images/VariableSubstitution.png" showCaption="false"}

| **Variable key** | **Value description**                                                    |
| ---------------- | ------------------------------------------------------------------------ |
| $                | Date client last checked-in (most recent checkin - either MDM or Client) |
| $                | Alternative Serial Number                                                |
| $                | Identifier used by the client application                                |
| $                | Globally unique device identifier                                        |
| $                | ICCID                                                                    |
| $                | IMEI2                                                                    |
| $                | IMEI                                                                     |
| $                | IMSI                                                                     |
| $                | Date device last checked-in (most recent checkin - either MDM or Client) |
| $                | Internal device identifier                                               |
| $                | Identifier used for MDM                                                  |
| $                | MEID                                                                     |
| $                | Model                                                                    |
| $                | Device name                                                              |
| $                | Device phone number                                                      |
| $                | Cluster unique device identifier                                         |
| $                | Serial Number                                                            |
| $                | iOS UDID                                                                 |
| $                | Wi-Fi MAC Address                                                        |

### Email template variables

| **Variable key** | **Value description** |
| ---------------- | --------------------- |
| $                | Email body            |
| $                | Email subject         |

### Time stamp variables

| **Variable key** | **Value description**                            |
| ---------------- | ------------------------------------------------ |
| $                | Current timestamp (milliseconds since the epoch) |

### Policy template variables

| **Variable key** | **Value description**                                                                         |
| ---------------- | --------------------------------------------------------------------------------------------- |
| $                | Policy name violated                                                                          |
| $                | Next Tiered Compliance Action (different than wait and retire) to be taken after send message |
| $                | Count of days device has been in non-compliant state                                          |
| $                | Time stamp when policy violation was first triggered (UTC DD-MM-YYYY format)                  |
| $                | Rule definition (query string the way it appears now)                                         |

**Related topics:**

- [Attributes](docId:4pvL724QDV0T4SF3zGlay)
