Local Variable

Expands to the value of a local variable.

Fields

Name

Specify the name of the local variable. Supports variable expansion. For more information, see Variable Selector.

Example

The example is from the Govern Groups for User Based on Title policy, which is available for download from the NetIQ Support Web site. For more information, see Downloading Identity Manager Policies in the NetIQ Identity Manager Understanding Policies Guide. To view the policy in XML, see 003-Command-AddCreateGroups.xml.

The action Add Destination Object uses the Local Variable token.

Policy to create a manager group if needed
Local variable
Editor

The Local Variable can only be used if the action Set Local Variable has been used previously in the policy. It sets the value that is stored in the Local Variable. In the Editor, you click the browse icon and all of the local variables that have been defined are listed. Select the correct local variable.

The value of the local variable is group-manager-dn. In the example, the Set Local Variable action defines group-manager-dn as DN of the manager’s group Users\ManagersGroup.