Specify List of Departments to Avoid Repetitive Typing
To facilitate the process of creating and modifying Active Directory objects, Adaxes lets you specify a list of values allowed for an AD object property. If a range of possible values is specified for a property, you can choose values of this property from the predefined list rather than typing them manually. In this tutorial, you will learn how to define a list of possible departments for Active Directory users.
To define the names of departments that can be specified for AD users, you need to create a Property Pattern for the User object type and specify possible values for the Department property.
Launch Adaxes Administration Console, right-click your Adaxes service, point to New and click Property Pattern. The Create Property Pattern wizard will open.
Enter the name for the new Property Pattern and click Next.
Here you need to select the AD object type, properties of which the new Property Pattern will affect. As we want to specify possible values for the Department property of user objects, select User in the Object Type list and click Next.
At the Configure Property Pattern page, you can specify value generation options and formatting constraints for the AD properties you need. Click Add and select the Department property from the drop-down list.
In the Add Property Pattern Item dialog, do the following:
- Select the Must be one of the following values only option.
- Click the Edit button located under the selected option.
- In the dialog that opens click Add to specify the names of departments.
- Click OK.
If necessary, specify other options for the Department property. For example, you may want the department to be always specified for AD users. For this purpose select the The property is required option.
When finished, click OK and then click Next.
Here, at the Activity Scope page, you need to specify where in Active directory a user must be located or to what groups or Business Units it must belong to be affected by the Property Pattern. Click Add.
In the Property Pattern Activity Scope dialog, select one of the following items:
All Objects - select if you want this Property Pattern to be effective when
creating or modifying any user in any AD domain managed by the Adaxes service.
Specific Domain - select if you want this Property Pattern to be effective
when creating or modifying any user in the AD domain you specify.
OU or Container - select if you want this Property Pattern to be effective
when creating or modifying any user located under the selected OU or container.
Group - select a specific group if you want this Property Pattern to be effective
when modifying users that are members of the selected group.
- Business Unit - select a Business Unit if you want this Property Pattern to be effective when modifying users that are members of the selected Business Unit. To view available Business Units, select the Business Units item in the Look in drop-down list.
Select the item you need and click Add. When finished, click OK.
The specified activity scope items will be displayed in the Assignments list. Click Finish.
Now, when the Property Pattern is complete, during the creation or modification of a user in AD, Adaxes will offer you to select the department from the predefined list: