Auto-Populate the Company Name When Creating Users
When creating different objects in Active Directory, very often you need to enter the very same information for some of them. For example, if the city, country, or company name is identical for all AD users, you have to type the same information every time when creating a new user. With the help of Adaxes it is possible to automatically fill in some properties of AD objects with default values. In this tutorial you will learn how to define the default company name for Active Directory users.
To configure Adaxes to automatically enter a company name for new AD users, you need to create a Property Pattern for the User object type and specify how to generate default values for the Company 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 a default value for the Company 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 Company property in the drop-down list.
In the Add Property Pattern Item dialog that opens, type the name of your company in the Generate default value field.
If necessary, specify other options for the Company property. For example, if you have multiple companies within your organization, you may want to specify possible values for the Company property. For this purpose, select the Must be one of the following values only option, click Edit and specify the company names. This will allow you to select company names from the predefined list rather than typing these names manually.
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 that opens, 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 creation of a new user in AD (no matter in which way - using Administration Console, Web Interface, during data import, via PowerShell scripts, etc.), the specified company name will be set for this user by default.