Placeholders in profiles and policies

Profiles and policies may contain placeholders which are replaced by actual data at the time of task execution. The following placeholders can be used:

  • Placeholders for user data:
    • %_USERNAME_%
  • Placeholders for device properties:
    • %_DEVPROP(property name)_%

      property name can be either a standard property or a custom property of the device. See Custom device properties.

  • Placeholders for customer properties:
For macOS, user data is replaced as follows:
  • For the local Mac user, the data of the Sophos Mobile user assigned to the device is used.
  • For network users, the data of the LDAP user account is used.