To add a membership rule to a dynamic group, right-click the dynamic group, and then click Add Membership Rule. This starts the New Membership Rule wizard. Complete the wizard as described in Converting a basic group to a dynamic group earlier in this chapter. To add a membership rule to a dynamic group, you can also use the Membership Rules tab in the Properties dialog box.
To add a membership rule to a group
- In the console tree, select the folder that contains the group to which you want to add a membership rule.
- In the details pane, right-click the group, and do one of the following to start the New Membership Rule wizard:
- If the group is a basic group, click Convert to Dynamic Group, and then click Yes.
- If the group is a dynamic group, click Add Membership Rule.
- On the first page of the wizard, select the type of the membership rule you want to create. Do one of the following, and then click Next:
- To create a rule that statically adds members to the group, click Include Explicitly.
- To create a rule that statically excludes members from the group, click Exclude Explicitly.
- To create a rule that adds all members of a certain group to the selected group, click Include Group Members.
- To create a rule that excludes all members of a certain group from the selected group, click Exclude Group Members.
- To create a rule that populates the group with the objects that match certain search criteria, click Include by Query.
- To create a rule that prevents the group from including the objects that match certain search criteria, click Exclude by Query.
- On the next page of the wizard, click Add.
If you selected the Include by Query rule type or the Exclude by Query rule type in Step 3, the Create Membership Rule dialog box appears. Otherwise, the Select Objects dialog box appears.
- Complete the Create Membership Rule or Select Objects dialog box using the procedures outlined below in this section.
- Click Finish to close the wizard.
To complete the Create Membership Rule dialog box
- From the Find list, select the class of objects you want the membership rule to include or exclude from the group. For example, when you select Users, the membership rule includes or excludes the users that match the conditions you specify.
- From the In list, select the domain or folder that holds the objects you want the membership rule to include or exclude from the group. For example, when you select an Organizational Unit, the membership rule includes or excludes only the objects that reside in that Organizational Unit.
To add folders to the In list, click Browse and select folders in the Browse for Container dialog box.
- Define the criteria of the membership rule. For example, to include or exclude the objects that have the letter T at the beginning of the name, type T in Name. You can use an asterisk (*) to represent any string of characters.
- Optionally, click Preview Rule to view a list of objects that match the criteria you have defined.
- Click Add Rule.
To complete the Select Objects dialog box
- In the Look in list, click the domain or folder that holds the objects you want to select. To add a folder to the list, click Browse.
- Do one of the following, and then click OK.
- In the list of objects, double-click the object you want to add.
- In the lower box, type the entire name, or a part of the name, of the object you want to add. Then, click Check Names.
|
NOTE:
|