Macros
XenMobile provides macros as a way to populate user or device property data within the text field of the following items:
- Policies
- Notifications
- Enrollment templates
- Automated actions
- Credential provider Certificate Signing Requests
XenMobile replaces a macro with the corresponding user or system values. For example, you can prepopulate the mailbox value for a user in a single Exchange profile across thousands of users.
Macro syntax
A macro can take the following form:
${type.PROPERTYNAME}
${type.PROPERTYNAME ['DEFAULT VALUE'] [ | FUNCTION [(ARGUMENT1, ARGUMENT2)]}
Enclose all syntax following the dollar sign ($) in curly brackets ({ }).
- Qualified property names reference either a user property, a device property, or a custom property.
- Qualified property names consist of a prefix, followed by the actual property name.
- User properties take the form
${user.[PROPERTYNAME] (prefix="user.")}
. - Device properties take the form
${设备。[PROPERTYNAME] (prefix="device.")}
. - Property names are case-sensitive.
A function can be a limited list or a link to a third-party reference that defines functions. The following macro for a notification message includes the functionfirstnotnull.
Device
${firstnotnull(device.TEL_NUMBER,device.serialNumber)}
has been blocked…- For custom macros (properties that you define), the prefix is
${custom}
. You can omit the prefix.
Here’s an example of a commonly used macro,${user.username}
, that populates the user name value in the text field of a policy. This macro is useful for configuring Exchange ActiveSync profiles and other profiles used by multiple users. The following example shows how to use macros in an Exchange policy. The macro forUseris${user.username}
. The macro forEmail addressis${user.mail}
.
The following example shows how to use macros for a certificate signing request. The macro forSubject nameisCN=$user.username
. The macro for theValueof aSubject alternative nameis$user.userprincipalname
.
The following example shows how to use macros in a notification template. The example template defines the message sent to a user when HDX applications are blocked because of a non-compliant device. The macro for theMessageis:
Device${firstnotnull(device.TEL_NUMBER,device.serialNumber)}
no longer complies with the device policy and HDX applications will be blocked.
For more examples of macros used in notifications, go toSettings > Notification Templates, select a pre-defined template, and clickEdit.
The following example shows a macro in the Device Name device policy. You can type a macro, a combination of macros, or a combination of macros and text to name each device uniquely. For example, use${设备。serialnumber}
to set the device names to the serial number of each device. Use${设备。serialnumber} ${ user.username }
to include the user name in the device name. The Device Name device policy works on supervised iOS and macOS devices.
Macros for default notification templates
You can use the following macros in the default notification templates:
${account.SUPPORT_EMAIL}
${applicationName}
${enrollment.andriod.agent.download.url}
${enrollment.ios.agent.download.url}
${enrollment.pin}
${enrollment.url}
${enrollment.urls}
${enrollment.ios.url}
${enrollment.macos.url}
${enrollment.android.url}
${enrollment.ios.platform}
${enrollment.macos.platform}
${enrollment.android.platform}
${firstnotnull(device.TEL_NUMBER,device.serialNumber)}
${firstnotnull(device.TEL_NUMBER,user.mobile)}
${outofcompliance.reason(smg_block)}
${outofcompliance.reason(whitelist_blacklist_apps_name)}
Note:
XenMobile服务器控制台包括术语“blacklist” and “whitelist”. We are changing those terms in an upcoming release to “block list” and “allow list”.
${vpp.account}
${vpp.appname}
${vpp.url}
${zdmserver.hostPath}/enroll
Macros for specific policies
For the Device Name device policy (for iOS and macOS), you can use these macros for theDevice name:
${设备。serialnumber}
${user.username}@example.com
${设备。serialnumber}
${设备。serialnumber}
${user.username}
${enrollment.pin}
${user.dnsroot}
For the Webclip device policy, you can use this macro for theURL:
${webeas-url}
For the Samsung MDM License Key device policy, you can use this macro for theELM license key:
${elm.license.key}
Macros to obtain built-in device properties
Display name | Macros |
---|---|
Device ID | $device.id |
Device GUID | $device.uniqueid |
Device IMEI | $device.imei |
OS Family | $device.OSFamily |
Serial Number | $device.serialNumber |
Macros for all device properties
The following list gives the display name, the Web element, and the Macros.
Account Suspended?
- GOOGLE_AW_DIRECTORY_SUSPENDED
- ${设备。GOOGLE_AW_DIRECTORY_SUSPENDED}
Activation lock bypass code
- ACTIVATION_LOCK_BYPASS_CODE
- ${设备。ACTIVATION_LOCK_BYPASS_CODE}
Activation lock enabled
- ACTIVATION_LOCK_ENABLED
- ${设备。ACTIVATION_LOCK_ENABLED}
Active iTunes account
- ACTIVE_ITUNES
- ${设备。ACTIVE_ITUNES}
ActiveSync device known by MSP
- AS_DEVICE_KNOWN_BY_ZMSP
- ${设备。AS_DEVICE_KNOWN_BY_ZMSP}
ActiveSync ID
- EXCHANGE_ACTIVESYNC_ID
- ${设备。EXCHANGE_ACTIVESYNC_ID}
Administrator disabled
- ADMIN_DISABLED
- ${设备。ADMIN_DISABLED}
AIK Present?
- WINDOWS_HAS_AIK_PRESENT
- ${设备。WINDOWS_HAS_AIK_PRESENT}
Amazon MDM API available
- AMAZON_MDM
- ${设备。AMAZON_MDM}
Android Enterprise Device ID
- GOOGLE_AW_DEVICE_ID
- ${设备。GOOGLE_AW_DEVICE_ID}
Android Enterprise Enabled Device?
- GOOGLE_AW_ENABLED_DEVICE
- ${设备。GOOGLE_AW_ENABLED_DEVICE}
Android Enterprise Install Type
- GOOGLE_AW_INSTALL_TYPE
- ${设备。GOOGLE_AW_INSTALL_TYPE}
Antispyware Signature status
- ANTI_SPYWARE_SIGNATURE_STATUS
- ${设备。ANTI_SPYWARE_SIGNATURE_STATUS}
Antispyware Status
- ANTI_SPYWARE_STATUS
- ${设备。ANTI_SPYWARE_STATUS}
Antivirus Signature Status
- ANTI_VIRUS_SIGNATURE_STATUS
- ${设备。ANTI_VIRUS_SIGNATURE_STATUS}
Antivirus Status
- ANTI_VIRUS_STATUS
- ${设备。ANTI_VIRUS_STATUS}
ASM DEP activation lock bypass code
- DEP_ACTIVATION_LOCK_BYPASS_CODE
- ${设备。DEP_ACTIVATION_LOCK_BYPASS_CODE}
ASM DEP escrow key
- DEP_ESCROW_KEY
- ${设备。DEP_ESCROW_KEY}
Asset tag
- ASSET_TAG
- ${设备。ASSET_TAG}
Automatically check software updates
- AutoCheckEnabled
- ${设备。AutoCheckEnabled}
Automatically download software updates in the background
- BackgroundDownloadEnabled
- ${设备。BackgroundDownloadEnabled}
Automatically install app updates
- AutomaticAppInstallationEnabled
- ${设备。AutomaticAppInstallationEnabled}
Automatically install OS updates
- AutomaticOSInstallationEnabled
- ${设备。AutomaticOSInstallationEnabled}
Automatically install security updates
- AutomaticSecurityUpdatesEnabled
- ${设备。AutomaticSecurityUpdatesEnabled}
Autoupdate Status
- AUTOUPDATE_STATUS
- ${设备。AUTOUPDATE_STATUS}
Available RAM
- MEMORY_AVAILABLE
- ${设备。MEMORY_AVAILABLE}
Available software updates
- AVAILABLE_OS_UPDATE_HUMAN_READABLE
- ${设备。AVAILABLE_OS_UPDATE_HUMAN_READABLE}
Available storage space
- FREEDISK
- ${设备。FREEDISK}
Backup battery
- BACKUP_BATTERY_PERCENT
- ${设备。BACKUP_BATTERY_PERCENT}
Baseband firmware version
- MODEM_FIRMWARE_VERSION
- ${设备。MODEM_FIRMWARE_VERSION}
Battery Charging
- BATTERY_CHARGING_STATUS
- ${设备。BATTERY_CHARGING_STATUS}
Battery charging
- BATTERY_CHARGING
- ${设备。BATTERY_CHARGING}
Battery Remaining
- BATTERY_ESTIMATED_CHARGE_REMAINING
- ${设备。BATTERY_ESTIMATED_CHARGE_REMAINING}
Battery Runtime
- BATTERY_RUNTIME
- ${设备。BATTERY_RUNTIME}
Battery Status
- BATTERY_STATUS
- ${设备。BATTERY_STATUS}
Bes device known by MS
- BES_DEVICE_KNOWN_BY_ZMSP
- ${设备。BES_DEVICE_KNOWN_BY_ZMSP}
BES PIN
- BES_PIN
- ${设备。BES_PIN}
BES server agent ID
- AGENT_ID
- ${设备。AGENT_ID}
BES server name
- BES_SERVER
- ${设备。BES_SERVER}
BES server version
- BES_VERSION
- ${设备。BES_VERSION}
BIOS Info
- BIOS_INFO
- ${设备。BIOS_INFO}
BitLocker Status
- WINDOWS_HAS_BIT_LOCKER_STATUS
- ${设备。WINDOWS_HAS_BIT_LOCKER_STATUS}
Bluetooth MAC address
- BLUETOOTH_MAC
- ${设备。BLUETOOTH_MAC}
Boot Debugging Enabled?
- WINDOWS_HAS_BOOT_DEBUGGING_ENABLED
- ${设备。WINDOWS_HAS_BOOT_DEBUGGING_ENABLED}
Boot Manager Rev List Version
- WINDOWS_HAS_BOOT_MGR_REV_LIST_VERSION
- ${设备。WINDOWS_HAS_BOOT_MGR_REV_LIST_VERSION}
Carrier Code
- CARRIER_CODE
- ${设备。CARRIER_CODE}
Carrier settings version
- CARRIER_SETTINGS_VERSION
- ${设备。CARRIER_SETTINGS_VERSION}
Catalog URL
- CatalogURL
- ${设备。CatalogURL}
Cellular altitude
- GPS_ALTITUDE_FROM_CELLULAR
- ${设备。GPS_ALTITUDE_FROM_CELLULAR}
Cellular course
- GPS_COURSE_FROM_CELLULAR
- ${设备。GPS_COURSE_FROM_CELLULAR}
Cellular horizontal accuracy
- GPS_HORIZONTAL_ACCURACY_FROM_CELLULAR
- ${设备。GPS_HORIZONTAL_ACCURACY_FROM_CELLULAR}
Cellular latitude
- GPS_LATITUDE_FROM_CELLULAR
- ${设备。GPS_LATITUDE_FROM_CELLULAR}
Cellular longitude
- GPS_LONGITUDE_FROM_CELLULAR
- ${设备。GPS_LONGITUDE_FROM_CELLULAR}
Cellular speed
- GPS_SPEED_FROM_CELLULAR
- ${设备。GPS_SPEED_FROM_CELLULAR}
Cellular technology
- CELLULAR_TECHNOLOGY
- ${设备。CELLULAR_TECHNOLOGY}
Cellular timestamp
- GPS_TIMESTAMP_FROM_CELLULAR
- ${设备。GPS_TIMESTAMP_FROM_CELLULAR}
Cellular vertical accuracy
- GPS_VERTICAL_ACCURACY_FROM_CELLULAR
- ${设备。GPS_VERTICAL_ACCURACY_FROM_CELLULAR}
Change Password at Next Login?
- GOOGLE_AW_DIRECTORY_CHANGE_PASSWORD_NEXT_LOGIN
- ${设备。GOOGLE_AW_DIRECTORY_CHANGE_PASSWORD_NEXT_LOGIN}
Client device ID
- CLIENT_DEVICE_ID
- ${设备。CLIENT_DEVICE_ID}
Cloud backup enabled
- CLOUD_BACKUP_ENABLED
- ${设备。CLOUD_BACKUP_ENABLED}
Code Integrity Enabled?
- WINDOWS_HAS_CODE_INTEGRITY_ENABLED
- ${设备。WINDOWS_HAS_CODE_INTEGRITY_ENABLED}
Code Integrity Rev List Version
- INDOWS_HAS_CODE_INTGTY_REV_LIST_VERSION
- ${设备。WINDOWS_HAS_CODE_INTGTY_REV_LIST_VERSION}
Color
- COLOR
- ${设备。COLOR}
CPU clock speed
- CPU_CLOCK_SPEED
- ${设备。CPU_CLOCK_SPEED}
CPU type
- CPU_TYPE
- ${设备。CPU_TYPE}
Creation Time
- GOOGLE_AW_DIRECTORY_CREATION_TIME
- ${设备。GOOGLE_AW_DIRECTORY_CREATION_TIME}
Critical software updates
- AVAILABLE_OS_UPDATE_IS_CRITICAL
- ${设备。AVAILABLE_OS_UPDATE_IS_CRITICAL}
Current carrier network
- CARRIER
- ${设备。CARRIER}
Current mobile country code
- CURRENT_MCC
- ${设备。CURRENT_MCC}
Current mobile network code
- CURRENT_MNC
- ${设备。CURRENT_MNC}
Data roaming allowed
- DATA_ROAMING_ENABLED
- ${设备。DATA_ROAMING_ENABLED}
Date of the last iCloud backup
- LAST_CLOUD_BACKUP_DATE
- ${设备。LAST_CLOUD_BACKUP_DATE}
Default catalog
- IsDefaultCatalog
- ${设备。IsDefaultCatalog}
DEP account name
- BULK_ENROLLMENT_DEP_ACCOUNT_NAME
- ${设备。BULK_ENROLLMENT_DEP_ACCOUNT_NAME}
DEP Policy
- WINDOWS_HAS_DEP_POLICY
- ${设备。WINDOWS_HAS_DEP_POLICY}
DEP profile assigned
- PROFILE_ASSIGN_TIME
- ${设备。PROFILE_ASSIGN_TIME}
DEP profile pushed
- PROFILE_PUSH_TIME
- ${设备。PROFILE_PUSH_TIME}
DEP profile removed
- PROFILE_REMOVE_TIME
- ${设备。PROFILE_REMOVE_TIME}
DEP registration by
- DEVICE_ASSIGNED_BY
- ${设备。DEVICE_ASSIGNED_BY}
DEP registration date
- DEVICE_ASSIGNED_DATE
- ${设备。DEVICE_ASSIGNED_DATE}
Description
- DESCRIPTION
- ${设备。DESCRIPTION}
Device identifier
- Activesyncid
- ${设备。activesyncid}
Device model
- SYSTEM_OEM
- ${设备。SYSTEM_OEM}
Device name
- DEVICE_NAME
- ${设备。DEVICE_NAME}
Device Type
- DEVICE_TYPE
- ${设备。DEVICE_TYPE}
Do Not Disturb activated
- DO_NOT_DISTURB
- ${设备。DO_NOT_DISTURB}
ELAM Driver Loaded?
- WINDOWS_HAS_ELAM_DRIVER_LOADED
- ${设备。WINDOWS_HAS_ELAM_DRIVER_LOADED}
Encryption Compliance
- ENCRYPTION_COMPLIANCE
- ${设备。ENCRYPTION_COMPLIANCE}
ENROLLMENT_KEY_GENERATION_DATE
- ENROLLMENT_KEY_GENERATION_DATE
- ${设备。ENROLLMENT_KEY_GENERATION_DATE}
Enterprise ID
- ENTERPRISEID
- ${设备。ENTERPRISEID}
External storage 1: available space
- EXTERNAL_STORAGE1_FREE_SPACE
- ${设备。EXTERNAL_STORAGE1_FREE_SPACE}
External storage 1: name
- EXTERNAL_STORAGE1_NAME
- ${设备。EXTERNAL_STORAGE1_NAME}
External storage 1: total space
- EXTERNAL_STORAGE1_TOTAL_SPACE
- ${设备。EXTERNAL_STORAGE1_TOTAL_SPACE}
External storage 2: available space
- EXTERNAL_STORAGE2_FREE_SPACE
- ${设备。EXTERNAL_STORAGE2_FREE_SPACE}
External storage 2: name
- EXTERNAL_STORAGE2_NAME
- ${设备。EXTERNAL_STORAGE2_NAME}
External storage 2: total space
- EXTERNAL_STORAGE2_TOTAL_SPACE
- ${设备。EXTERNAL_STORAGE2_TOTAL_SPACE}
External storage encrypted
- EXTERNAL_ENCRYPTION
- ${设备。EXTERNAL_ENCRYPTION}
FileVault Enabled
- IS_FILEVAULT_ENABLED
- ${设备。IS_FILEVAULT_ENABLED}
Firewall Status
- DEVICE_FIREWALL_STATUS
- ${设备。DEVICE_FIREWALL_STATUS}
Firewall Status
- FIREWALL_STATUS
- ${设备。FIREWALL_STATUS}
Firmware version
- FIRMWARE_VERSION
- ${设备。FIRMWARE_VERSION}
First synchronization
- ZMSP_FIRST_SYNC
- ${设备。ZMSP_FIRST_SYNC}
Google Directory Alias
- GOOGLE_AW_DIRECTORY_GOOGLE_ALIAS
- ${设备。GOOGLE_AW_DIRECTORY_GOOGLE_ALIAS}
Google Directory Family Name
- GOOGLE_AW_DIRECTORY_FAMILY_NAME
- ${设备。GOOGLE_AW_DIRECTORY_FAMILY_NAME}
Google Directory Name
- GOOGLE_AW_DIRECTORY_NAME
- ${设备。GOOGLE_AW_DIRECTORY_NAME}
Google Directory Primary Email
- GOOGLE_AW_DIRECTORY_PRIMARY
- ${设备。GOOGLE_AW_DIRECTORY_PRIMARY}
Google Directory User ID
- GOOGLE_AW_DIRECTORY_USER_ID
- ${设备。GOOGLE_AW_DIRECTORY_USER_ID}
GPS altitude
- GPS_ALTITUDE_FROM_GPS
- ${设备。GPS_ALTITUDE_FROM_GPS}
GPS course
- GPS_COURSE_FROM_GPS
- ${设备。GPS_COURSE_FROM_GPS}
GPS horizontal accuracy
- GPS_HORIZONTAL_ACCURACY_FROM_GPS
- ${设备。GPS_HORIZONTAL_ACCURACY_FROM_GPS}
GPS latitude
- GPS_LATITUDE_FROM_GPS
- ${设备。GPS_LATITUDE_FROM_GPS}
GPS longitude
- GPS_LONGITUDE_FROM_GPS
- ${设备。GPS_LONGITUDE_FROM_GPS}
GPS speed
- GPS_SPEED_FROM_GPS
- ${设备。GPS_SPEED_FROM_GPS}
GPS timestamp
- GPS_TIMESTAMP_FROM_GPS
- ${设备。GPS_TIMESTAMP_FROM_GPS}
GPS vertical accuracy
- GPS_VERTICAL_ACCURACY_FROM_GPS
- ${设备。GPS_VERTICAL_ACCURACY_FROM_GPS}
Hardware Device ID
- HW_DEVICE_ID
- ${设备。HW_DEVICE_ID}
Hardware encryption capabilities
- HARDWARE_ENCRYPTION_CAPS
- ${设备。HARDWARE_ENCRYPTION_CAPS}
HAS_CONTAINER
- HAS_CONTAINER
- ${设备。HAS_CONTAINER}
Hash of the iTunes store account currently logged on
- ITUNES_STORE_ACCOUNT_HASH
- ${设备。ITUNES_STORE_ACCOUNT_HASH}
Home carrier network
- SIM_CARRIER_NETWORK
- ${设备。SIM_CARRIER_NETWORK}
Home mobile country code
- SIM_MCC
- ${设备。SIM_MCC}
Home mobile network code
- SIM_MNC
- ${设备。SIM_MNC}
ICCID
- ICCID
- ${设备。ICCID}
Identit
- AS_DEVICE_IDENTITY
- ${设备。AS_DEVICE_IDENTITY}
IMEI/MEID number
- IMEI
- ${设备。IMEI}
IMSI
- SIM_ID
- ${设备。SIM_ID}
Internal storage encrypted
- LOCAL_ENCRYPTION
- ${设备。LOCAL_ENCRYPTION}
IP location
- IP_LOCATION
- ${设备。IP_LOCATION}
IPV4 Address
- IP_ADDRESSV4
- ${设备。IP_ADDRESSV4}
IPV6 Address
- IP_ADDRESSV6
- ${设备。IP_ADDRESSV6}
Issued At
- WINDOWS_HAS_ISSUED_AT
- ${设备。WINDOWS_HAS_ISSUED_AT}
Jailbroken/Rooted
- ROOT_ACCESS
- ${设备。ROOT_ACCESS}
Kernel Debugging Enabled?
- WINDOWS_HAS_OS_KERNEL_DEBUGGING_ENABLED
- ${设备。WINDOWS_HAS_OS_KERNEL_DEBUGGING_ENABLED}
Kiosk mode
- IS_KIOSK
- ${设备。IS_KIOSK}
Last known IP address
- LAST_IP_ADDR
- ${设备。LAST_IP_ADDR}
Last policy update time
- LAST_POLICY_UPDATE_TIME
- ${设备。LAST_POLICY_UPDATE_TIME}
Last scan date
- PreviousScanDate
- ${设备。PreviousScanDate}
Last scan result
- PreviousScanResult
- ${设备。PreviousScanResult}
Last scheduled software updates
- AVAILABLE_OS_UPDATE_INSTALL_LAST_ATTEMPT_TIME
- ${设备。AVAILABLE_OS_UPDATE_INSTALL_LAST_ATTEMPT_TIME}
Last scheduled software updates failure message
- AVAILABLE_OS_UPDATE_INSTALL_FAIL_MSG
- ${设备。AVAILABLE_OS_UPDATE_INSTALL_FAIL_MSG}
Last scheduled software updates status
- AVAILABLE_OS_UPDATE_INSTALL_STATUS
- ${设备。AVAILABLE_OS_UPDATE_INSTALL_STATUS}
Last synchronization
- ZMSP_LAST_SYNC
- ${设备。ZMSP_LAST_SYNC}
Locator service enabled
- DEVICE_LOCATOR
- ${设备。DEVICE_LOCATOR}
MAC Address
- MAC_ADDRESS
- ${设备。MAC_ADDRESS}
MAC地址的网络连接
- MAC_NETWORK_CONNECTION
- ${设备。MAC_NETWORK_CONNECTION}
MAC Address Type
- MAC_ADDRESS_TYPE
- ${设备。MAC_ADDRESS_TYPE}
Mailbox Setup
- GOOGLE_AW_DIRECTORY_MAILBOX_SETUP
- ${设备。GOOGLE_AW_DIRECTORY_MAILBOX_SETUP}
Main battery
- MAIN_BATTERY_PERCENT
- ${设备。MAIN_BATTERY_PERCENT}
MDM lost mode enabled
- IS_MDM_LOST_MODE_ENABLED
- ${设备。IS_MDM_LOST_MODE_ENABLED}
MDX_SHARED_ENCRYPTION_KEY
- MDX_SHARED_ENCRYPTION_KEY
- ${设备。MDX_SHARED_ENCRYPTION_KEY}
MEID
- MEID
- ${设备。MEID}
Mobile phone number
- TEL_NUMBER
- ${设备。TEL_NUMBER}
Model ID
- MODEL_ID
- ${设备。MODEL_ID}
Model Number
- MODEL_NUMBER
- ${设备。MODEL_NUMBER}
Network Adapter Type
- NETWORK_ADAPTER_TYPE
- ${设备。NETWORK_ADAPTER_TYPE}
Operating system build
- SYSTEM_OS_BUILD
- ${设备。SYSTEM_OS_BUILD}
Operating System Edition
- OS_EDITION
- ${设备。OS_EDITION}
Operating system language (locale)
- SYSTEM_LANGUAGE
- ${设备。SYSTEM_LANGUAGE}
Operating system version
- SYSTEM_OS_VERSION
- ${设备。SYSTEM_OS_VERSION}
Organization address
- ORGANIZATION_ADDRESS
- ${设备。ORGANIZATION_ADDRESS}
Organization e-mail
- ORGANIZATION_EMAIL
- ${设备。ORGANIZATION_EMAIL}
Organization magic
- ORGANIZATION_MAGIC
- ${设备。ORGANIZATION_MAGIC}
Organization name
- ORGANIZATION_NAME
- ${设备。ORGANIZATION_NAME}
Organization phone number
- ORGANIZATION_PHONE
- ${设备。ORGANIZATION_PHONE}
Out of Compliance
- OUT_OF_COMPLIANCE
- ${设备。OUT_OF_COMPLIANCE}
Owned by
- CORPORATE_OWNED
- ${设备。CORPORATE_OWNED}
Passcode compliant
- PASSCODE_IS_COMPLIANT
- ${设备。PASSCODE_IS_COMPLIANT}
Passcode compliant with configuration
- PASSCODE_IS_COMPLIANT_WITH_CFG
- ${设备。PASSCODE_IS_COMPLIANT_WITH_CFG}
Passcode present
- PASSCODE_PRESENT
- ${设备。PASSCODE_PRESENT}
PCR0
- WINDOWS_HAS_PCR0
- ${设备。WINDOWS_HAS_PCR0}
Perimeter breach
- GPS_PERIMETER_BREACH
- ${设备。GPS_PERIMETER_BREACH}
Periodic check
- PerformPeriodicCheck
- ${设备。PerformPeriodicCheck}
Personal Hotspot activated
- PERSONAL_HOTSPOT_ENABLED
- ${设备。PERSONAL_HOTSPOT_ENABLED}
PIN code for geofence
- PIN_CODE_FOR_GEO_FENCE
- ${设备。PIN_CODE_FOR_GEO_FENCE}
Platform
- SYSTEM_PLATFORM
- ${设备。SYSTEM_PLATFORM}
Platform API level
- API_LEVEL
- ${设备。API_LEVEL}
Policy name
- POLICY_NAME
- ${设备。POLICY_NAME}
Primary Phone Number
- IDENTITY1_PHONENUMBER
- ${设备。IDENTITY1_PHONENUMBER}
Primary SIM Carrier Operator
- IDENTITY1_CARRIER_NETWORK_OPERATOR
- ${设备。IDENTITY1_CARRIER_NETWORK_OPERATOR}
Primary SIM ICCID
- IDENTITY1_ICCID
- ${设备。IDENTITY1_ICCID}
Primary SIM IMEI
- IDENTITY1_IMEI
- ${设备。IDENTITY1_IMEI}
Primary SIM IMSI
- IDENTITY1_IMSI
- ${设备。IDENTITY1_IMSI}
Primary SIM Roaming
- IDENTITY1_ROAMING
- ${设备。IDENTITY1_ROAMING}
Primary SIM Roaming Compliance
- IDENTITY1_ROAMING_COMPLIANCE
- ${设备。IDENTITY1_ROAMING_COMPLIANCE}
Product name
- PRODUCT_NAME
- ${设备。PRODUCT_NAME}
Publisher Device ID
- PUBLISHER_DEVICE_ID
- ${设备。PUBLISHER_DEVICE_ID}
Reset Count
- WINDOWS_HAS_RESET_COUNT
- ${设备。WINDOWS_HAS_RESET_COUNT}
Restart Count
- WINDOWS_HAS_RESTART_COUNT
- ${设备。WINDOWS_HAS_RESTART_COUNT}
Safe Mode Enabled?
- WINDOWS_HAS_SAFE_MODE
- ${设备。WINDOWS_HAS_SAFE_MODE}
Samsung KNOX API available
- SAMSUNG_KNOX
- ${设备。SAMSUNG_KNOX}
Samsung KNOX API version
- SAMSUNG_KNOX_VERSION
- ${设备。SAMSUNG_KNOX_VERSION}
Samsung KNOX attestation
- SAMSUNG_KNOX_ATTESTED
- ${设备。SAMSUNG_KNOX_ATTESTED}
Samsung KNOX attestation updated date
- SAMSUNG_KNOX_ATT_UPDATED_TIME
- ${设备。SAMSUNG_KNOX_ATT_UPDATED_TIME}
Samsung SAFE API available
- SAMSUNG_MDM
- ${设备。SAMSUNG_MDM}
Samsung SAFE API version
- SAMSUNG_MDM_VERSION
- ${设备。SAMSUNG_MDM_VERSION}
SBCP Hash
- WINDOWS_HAS_SBCP_HASH
- ${设备。WINDOWS_HAS_SBCP_HASH}
Screen: height
- SCREEN_HEIGHT
- ${设备。SCREEN_HEIGHT}
Screen: number of colors
- SCREEN_NB_COLORS
- ${设备。SCREEN_NB_COLORS}
Screen: size
- SCREEN_SIZE
- ${设备。SCREEN_SIZE}
Screen: width
- SCREEN_WIDTH
- ${设备。SCREEN_WIDTH}
Screen: X-axis resolution
- SCREEN_XDPI
- ${设备。SCREEN_XDPI}
Screen: Y-axis resolution
- SCREEN_YDPI
- ${设备。SCREEN_YDPI}
Secondary Phone Number
- IDENTITY2_PHONENUMBER
- ${设备。IDENTITY2_PHONENUMBER}
Secondary SIM Carrier Operator
- IDENTITY2_CARRIER_NETWORK_OPERATOR
- ${设备。IDENTITY2_CARRIER_NETWORK_OPERATOR}
Secondary SIM ICCID
- IDENTITY2_ICCID
- ${设备。IDENTITY2_ICCID}
Secondary SIM IMEI
- IDENTITY2_IMEI
- ${设备。IDENTITY2_IMEI}
Secondary SIM IMSI
- IDENTITY2_IMSI
- ${设备。IDENTITY2_IMSI}
Secondary SIM Roaming
- IDENTITY2_ROAMING
- ${设备。IDENTITY2_ROAMING}
Secondary SIM Roaming Compliance
- IDENTITY2_ROAMING_COMPLIANCE
- ${设备。IDENTITY2_ROAMING_COMPLIANCE}
Secure Boot Enabled?
- WINDOWS_HAS_SECURE_BOOT_ENABLED
- ${设备。WINDOWS_HAS_SECURE_BOOT_ENABLED}
Secure Boot Status
- SECURE_BOOT_STATE
- ${设备。SECURE_BOOT_STATE}
SecureContainer Enabled
- DLP_ACTIVE
- ${设备。DLP_ACTIVE}
Security patch level
- SYSTEM_SECURITY_PATCH_LEVEL
- ${设备。SYSTEM_SECURITY_PATCH_LEVEL}
Serial number
- SERIAL_NUMBER
- ${设备。SERIAL_NUMBER}
SMS capable
- IS_SMS_CAPABLE
- ${设备。IS_SMS_CAPABLE}
Supervised
- SUPERVISED
- ${设备。SUPERVISED}
Suspension Reason
- GOOGLE_AW_DIRECTORY_SUSPENTION_REASON
- ${设备。GOOGLE_AW_DIRECTORY_SUSPENTION_REASON}
Tampered Status
- TAMPERED_STATUS
- ${设备。TAMPERED_STATUS}
Terms & Conditions
- TERMS_AND_CONDITIONS
- ${设备。TERMS_AND_CONDITIONS}
Terms And Agreement Accepted?
- GOOGLE_AW_DIRECTORY_AGREED_TO_TERMS
- ${设备。GOOGLE_AW_DIRECTORY_AGREED_TO_TERMS}
Test Signing Enabled?
- WINDOWS_HAS_TEST_SIGNING_ENABLED
- ${设备。WINDOWS_HAS_TEST_SIGNING_ENABLED}
Total RAM
- MEMORY
- ${设备。MEMORY}
Total storage space
- TOTAL_DISK_SPACE
- ${设备。TOTAL_DISK_SPACE}
TPM version
- TPM_VERSION
- ${设备。TPM_VERSION}
UDID
- UDID
- ${设备。UDID}
User Account Control Status
- UAC_STATUS
- ${设备。UAC_STATUS}
User agent
- USER_AGENT
- ${设备。USER_AGENT}
User defined #1
- USER_DEFINED_1
- ${设备。USER_DEFINED_1}
User defined #2
- USER_DEFINED_2
- ${设备。USER_DEFINED_2}
User defined #3
- USER_DEFINED_3
- ${设备。USER_DEFINED_3}
User language (locale)
- USER_LANGUAGE
- ${设备。USER_LANGUAGE}
Vendor
- VENDOR
- ${设备。VENDOR}
Voice capable
- IS_VOICE_CAPABLE
- ${设备。IS_VOICE_CAPABLE}
Voice roaming allowed
- VOICE_ROAMING_ENABLED
- ${设备。VOICE_ROAMING_ENABLED}
VSM Enabled?
- WINDOWS_HAS_VSM_ENABLED
- ${设备。WINDOWS_HAS_VSM_ENABLED}
WiFi MAC address
- WIFI_MAC
- ${设备。WIFI_MAC}
WINDOWS_ENROLLMENT_KEY
- WINDOWS_ENROLLMENT_KEY
- ${设备。WINDOWS_ENROLLMENT_KEY}
WinPE Enabled?
- WINDOWS_HAS_WINPE
- ${设备。WINDOWS_HAS_WINPE}
WNS Notification Status
- PROPERTY_WNS_PUSH_STATUS
- ${设备。PROPERTY_WNS_PUSH_STATUS}
WNS Notification URL
- PROPERTY_WNS_PUSH_URL
- ${设备。PROPERTY_WNS_PUSH_URL}
WNS Notification URL expiry date
- PROPERTY_WNS_PUSH_URL_EXPIRY
- ${设备。PROPERTY_WNS_PUSH_URL_EXPIRY}
XenMobile agent ID
- ENROLLMENT_AGENT_ID
- ${设备。ENROLLMENT_AGENT_ID}
XenMobile agent revision
- EW_REVISION
- ${设备。EW_REVISION}
XenMobile agent version
- EW_VERSION
- ${设备。EW_VERSION}
Zebra API available
- ZEBRA_MDM
- ${设备。ZEBRA_MDM}
Zebra MXMF version
- ZEBRA_MDM_VERSION
- ${设备。ZEBRA_MDM_VERSION}
Zebra Patch version
- ZEBRA_PATCH_VERSION
- ${设备。ZEBRA_PATCH_VERSION}
Macros to obtain built-in user properties
Display name | Macros |
---|---|
domainname (domain name; default domain) | ${user.domainname} |
loginname (user name plus domain name) | ${user.loginname} |
username (login name minus the domain, if any) | ${user.username} |
Macros for all user properties
Display name | Web element | Macros |
---|---|---|
Active Directory failed logon tries | badpwdcount | ${user.badpwdcount} |
ActiveSync user email | asuseremail | ${user.asuseremail} |
ASM data source | asmpersonsource | ${user.asmpersonsource} |
ASM DEP account name | asmdepaccount | ${user.asmdepaccount} |
ASM managed Apple ID | asmpersonmanagedappleid | ${user.asmpersonmanagedappleid} |
ASM passcode type | asmpersonpasscodetype | ${user.asmpersonpasscodetype} |
ASM person ID | asmpersonid | ${user.asmpersonid} |
ASM person status | asmpersonstatus | ${user.asmpersonstatus} |
ASM person title | asmpersontitle | ${user.asmpersontitle} |
ASM person unique ID | asmpersonuniqueid | ${user.asmpersonuniqueid} |
ASM source system ID | asmpersonsourcesystemid | ${user.asmpersonsourcesystemid} |
ASM student grade | asmpersongrade | ${user.asmpersongrade} |
BES user email | besuseremail | ${user.besuseremail} |
Company | company | ${user.company} |
Company name | companyname | ${user.companyname} |
Country | c | ${user.c} |
Department | department | ${user.department} |
Description | description | ${user.description} |
Disabled user | disableduser | ${user.disableduser} |
Display name | displayname | ${user.displayname} |
Distinguished name | distinguishedname | ${user.distinguishedname} |
Domain name | domainname | ${user.domainname} |
${user.mail} |
||
First name | givenname | ${user.givenname} |
Home address | homestreetaddress | ${user.homestreetaddress} |
Home city | homecity | ${user.homecity} |
Home country | homecountry | ${user.homecountry} |
Home fax | homefax | ${user.homefax} |
Home phone | homephone | ${user.homephone} |
Home state/region | homestate | ${user.homestate} |
Home zip or post code | homezip | ${user.homezip} |
IP phone | ipphone | ${user.ipphone} |
Middle initial | middleinitial | ${user.middleinitial} |
Middle name | middlename | ${user.middlename} |
Mobile | mobile | ${user.mobile} |
Name | cn | ${user.cn} |
Office address | physicaldeliveryofficename | ${user.physicaldeliveryofficename} |
Office city | l | ${user.l} |
Office fax number | facsimiletelephonenumber | ${user.facsimiletelephonenumber} |
Office state/province | st | ${user.st} |
Office street address | officestreetaddress | ${user.officestreetaddress} |
Office telephone number | telephonenumber | ${user.telephonenumber} |
Office zip or post code | postalcode | ${user.postalcode} |
P.O. box | postofficebox | ${user.postofficebox} |
Pager | pager | ${user.pager} |
Primary group ID | primarygroupid | ${user.primarygroupid} |
SAM account | samaccountname | ${user.samaccountname} |
Street address | streetaddress | ${user.streetaddress} |
Surname | sn | ${user.sn} |
Title | title | ${user.title} |
User logon name | userprincipalname | ${user.userprincipalname} |