Using variables

71 views October 19, 2018 December 19, 2019 0

You can use variables when configuring some MDM profiles and when creating Managed Configurations for apps. The precondition for this is the availability of the corresponding data. Dependent on which type of user import is used, different variables are available. Additionally, data can be added retrospectively in the user management.

  • When importing users from the Active Directory the following variables can be used (assuming the data is stored in the AD):
    • #UserPrincipalName# – e.g. johndoe@xmail.com
    • #UserDisplayName# – e.g. John Doe
    • #UserEMailAddress# – e.g.john.doe@company.com
    • #UserDomainName# – e.g. server.domain.com
    • #UserDomainNameUpperCased# – e.g. SERVER.DOMAIN.COM
    • #UserSamAccountName# – e.g. johndoe
  • When importing single users, the appropriate information can be stored retrospectively in the user management under Control Panel→ Users→ Settings→ Edit. Once data has been stored there, the following variables can be used:
    • #UserEMailAddress# – e.g.john.doe@company.com
    • #UserPrincipalName# – e.g. johndoe@xmail.com
    • #UserSamAccountName# – e.g. johndoe
    • #UserDomainName# – e.g. server.domain.com
    • #DevicePhoneNumber#
  • When importing users via a .csv file, the User Principal Name, the Sam Account Name, the Email Address and the Domain Name can be imported. If this is done, the following variables can be used:
    • #UserEMailAddress# – e.g.john.doe@company.com
    • #UserPrincipalName# – e.g. johndoe@xmail.com
    • #UserSamAccountName# – e.g. johndoe
    • #UserDomainName# – e.g. server.domain.com

Note! Using the variable #DevicePhoneNumber#  only works if the corresponding data has been stored under Control Panel→ Users→ Settings.

Was this helpful?