Adaxes allows you to make any property of Active Directory objects required. If a property is required and the user leaves it blank, they will receive an error message prompting them to enter a value for the property.
Also, you can ensure that values for Active Directory object properties are entered in the correct format. The format can be defined either with the help of regular expressions or using constraints like must start with or must not contain. If the format is defined using a regular expression, you can customize the error message that will be shown if the validation fails.
To make a property required and define its format, you need to use Property Patterns. Adaxes provides built-in Property Pattern User Pattern that is by default applied to all user accounts. In this tutorial, you will learn how to use the Property Pattern to make a specific property of user accounts mandatory, and how to use regular expressions to specify the format for the property.
Launch Adaxes Administration Console.
Expand Adaxes service \ Configuration \ Property Patterns \ Builtin and select User Pattern.
In the section located to the right, click Add and select the property you want to configure.
To make the property mandatory, check the The property is required checkbox.
To specify the format for the property, select Must match regexp and enter a regular expression in the edit box.
Example 1 - six digits
Example 2 - three digits, dash, three digits
Click the button located next to the edit box and enter the error message that will be shown if the validation fails.
When done, click OK.
Click Save changes.
By default, Property Pattern User Pattern is applied to scope All Objects.
This means that you can use the Property Pattern to configure the same settings for all users in all domains managed by Adaxes. If you want to apply different settings for different Organizational Units or domains, you need to create a separate Property Pattern for each OU or domain.
Right-click Property Patterns, point to New and click Property Pattern.
Enter a name for the new Property Pattern and click Next.
On the Object Type page, select User and click Next.
On the Configuration page, configure options for a property and click Next.
To define the scope of activity for the Property Pattern, click Add.
In the Activity Scope dialog, select the following items:
Group - select to apply the Property Pattern to members of a group.
Business Unit - select to apply the Property Pattern to members of a Business Unit. To select a Business Unit, open the Look in drop-down list and select the Business Units item.
You can exclude specific Organizational Units, Business Units, groups, and domains from the activity scope of the Property Pattern. For example, if you've assigned the Property Pattern over the whole domain, but do not want it to apply to a specific Organizational Unit, you can exclude the Organizational Unit from the activity scope. To exclude an object, select the Exclude option in the Assignment Options dialog box.
Click the object you want to exclude.
In the Assignment Options dialog, select the Exclude option.