Allow Using Templates for User Creation
You can make the process of creating user accounts in the Adaxes Active Directory Web Interface even more fast and efficient by using templates.
By creating a user template, you can make a copy of it when you need to create an account for a new user. Properties of the user template and its group membership will be copied to the new user account. This eliminates the need to type in the same property values and specify group membership each time you create a new user in Active Directory.
Creating a User Template
Creating a user template involves creating a new user account. It is recommended to create a template account for each category of users in your organization. For example, you could create a template for regular users and another one for Help Desk users.
In this tutorial you will learn how to define a Create User action for the Web Interface Home page that will use a template for creating users.


In the Home Page Actions dialog, you will see all the actions available on the Actions pane.
If you want the account of the user who initiated the action to be always used as the template, select the Always copy the account of the currently logged on user option.
If you want a specific user account to be always used as the template, enable the Always copy a specific AD object option, and enter the distinguished name (DN) of the template account in the Object DN field.
How to get the DN of an object
- Launch the Adaxes Administration Console.
- Right-click the object you need.
- In the context menu, open the submenu of the Copy item.
-
Click Copy DN. The DN of the selected Active Directory object will be copied
to the clipboard.
CN=_%company%Template,OU=Templates,DC=company,DC=com,
and the Company property of the user who initiates the action is set to Acme, the DN will be set to
CN=_AcmeTemplate,OU=Templates,DC=company,DC=com.
To insert a value reference, click the
button at the right side of the Object DN edit box.
To allow users to select the account to be used as the template, enable the Allow users to select the object to copy option.
If you store all user templates in a separate Organizational Unit, enable the Allow selecting only AD objects located under a specific OU or container option and enter the distinguished name (DN) of the OU in the Container DN field.
How to get the DN of an object
- Launch the Adaxes Administration Console.
- Right-click the object you need.
- In the context menu, open the submenu of the Copy item.
-
Click Copy DN. The DN of the selected Active Directory object will be copied
to the clipboard.
OU=%department%,OU=Templates,DC=company,DC=com,
and the Department property of the user who initiates the action is set to IT, the DN will be set to
OU=IT,OU=Templates,DC=company,DC=com.
To insert a value reference, click the
button at the right side of the Object DN edit box.
If when selecting the template users must be able to see only the accounts that match a specific search criteria, enable the Allow selecting only AD objects that match the specific LDAP filter option and enter a search filter in the LDAP filter field.
For example, if all user templates contain the word 'Template' in their names, you can use the following filter: (name=*Template*). If you follow the convention that names of all user templates begin with an an underscore, you can use the following LDAP filter: (name=_*)
How to construct an LDAP filter
- Launch the Adaxes Administration Console.
-
Connect to your Adaxes service and click
Find on the toolbar.
- Activate the LDAP Search tab.
-
In the Enter LDAP filter field, click the embedded
button to build a filter using the LDAP Filter Builder.
(manager=%distinguishedName%)
the %distinguishedName% value reference will be replaced with the DN of the user who initiated the action. In this case, only user templates for which the user is set as the manager will be available.
To insert a value reference, click the
button at the right side of the Object DN edit box.
When finished, click Next.
- Select the Use customized form option.
- Click Customize Form.
- Modify the form to fit your needs and click OK.
