Local Variable

Expands to the value of a local variable.



Specify the name of the local variable.


The example is from the Govern Groups for User Based on Title policy, which is available for download from the Novell Support Web site. For more information, see Downloading Identity Manager Policies in Understanding Policies for Identity Manager 4.0.2. 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
List of defined local variables

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 defined group-manager-dn as DN of the manager’s group Users\ManagersGroup.