If

Conditionally performs a set of actions

Fields

Conditions

Specify the desired condition.

If Actions

Specify the desired actions, if the conditions are True.

Else Actions

(Optional) Specify the desired actions, if the conditions are False.

Example

During an add or modify operation, if the attribute of Title equals manager, the user object is added to the ManagerGroup group. If the Title does not equal manager, then the user object is added to the UsersGroup group. To view the policy in XML, see if.xml.

Policy if the title is manager it is added to the ManagerGroup, otherwise added to the UserGroups
If

When you create the if action, you have to add a condition and one action. In this example there are two separate actions. The condition is if a user object has the title of manager.

Condition detects if the title equals manager

The action is to add the user object to the ManagerGroup group.

Action to add the user object to the ManagerGroup group

If the title does not equal manager, the user object is placed in the UsersGroup group.

Action to add the user object to the UsersGroup group