Cortado Mobile Solutions

My Tickets
Welcome
Login

How to use variables in user import, MDM profiles or Managed Configurations

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. 

When using Cortado MDM

When using Cortado Server

When using Cortado MDM

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 Directorythe 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.

When using Cortado Server

To read user data from the AD (for example, when you create an profile), you can use the following variables:

  • #UserPrincipalName# – e.g. johndoe@mdm.ccsdemo.de
  • #UserDisplayName# – e.g. John Doe
  • #UserEMailAddress# – e.g. john.doe@cortado.de
  • #UserDomainName# – e.g. mdm.ccsdemo.de
  • #UserDomainNameUpperCased# – e.g. MDM.CCSDEMO.DE
  • #UserSamAccountName# – e.g. johndoe
  • #DevicePhoneNumber#

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.