Conditionally performs a set of actions.
Specify the desired condition.
Specify the desired actions, if the conditions are True.
(Optional) Specify the desired actions, if the conditions are False.
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.
When you create the if action, you must 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.
The action is 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.