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

Example

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