Secure Mobile Access 12.4 Administration Guide

Creating a Variable Containing a Variable

To create a variable that contains a variable

You can simplify the creation of user-specific links or shortcuts by using one or more variables to define another one. For example, in the procedure above, a Host name or IP address resource was defined as follows, using a variable named {Desktop} followed by a string, in this case the path:

{Desktop}.dept.company.com

You could instead create a variable named {Desktop_path} that resolves to the entire path above.

In another example of using multiple variables to create a single variable, you could replace dept in the path above with the user’s ou (organizational unit) attribute in the LDAP store. The below table summarizes the possibilities in the examples outlined here:

AMC variables
AMC variable name Resolves to... Based on...
{Desktop} john_doe-340 rdp (LDAP attribute)
{dept} Sales ou (LDAP attribute)
{Desktop_path} john_doe-340.dept.company.com

AMC variable defined as follows:

{Desktop}.dept.company.com

{Desktop_by_dept} john_doe-340.Sales.company.com

AMC variable defined as follows:

{Desktop}.{ou}.company.com

Variables cannot be nested more than two deep: you cannot create a variable that refers to a variable that in turn refers to another variable.

Was This Article Helpful?

Help us to improve our support portal

Techdocs Article Helpful form

  • Hidden
  • Hidden

Techdocs Article NOT Helpful form

  • Still can't find what you're looking for? Try our knowledge base or ask our community for more help.
  • Hidden
  • Hidden