Generate Initial Password on User Creation
With the help of Property Patterns, you can set up a template for the generation of initial user passwords. If a new user is created using the User Creation wizard, the generated password will be automatically filled in to the Password field, sparing you from manual password input. If a user is created using a PowerShell/ADSI script or during data import, and the Password (unicodePwd) property is not defined, the user password will be automatically generated according to the specified template.
In this tutorial, you will learn how to modify the built-in Property Pattern User Pattern to generate initial passwords for new users. If necessary, you can create a separate Property Pattern for this purpose.
Launch Adaxes Administration Console, expand Adaxes service \ Configuration \ Property Patterns \ Builtin. Select the built-in Property Pattern User Pattern.
In the Result Pane (located to the right), click Add and select the Password property in the drop-down list.
In the Add Property Pattern Item dialog, specify a template for initial passwords.
To set a unique initial password for each user, you need to use value references (e.g. %username%). When creating a new user, these value references will be replaced with the property values specified during user creation.
For example, if you enter the following template for user passwords: %username%%employeeID%, the value references contained in this template will be replaced with the values of the User Logon Name and Employee ID properties of the user (e.g. johndoe123321).
Alternatively, you can configure Adaxes to generate a random password by default. For example, the following template: %adm-RandomString,12% can be used to generate a random password of the length of 12 characters.
When finished, click OK.
To save changes, click the Save button located at the bottom of the Result Pane.