Trigger user password regeneration
For existing Alfabet users logging in via standard login, you can initially set or reset a password via the command line without knowledge about the current or the new password.
After having run the command line, two emails will be sent to each user defined in the command line. An email informing the user about the user name specified for login and a link to the login screen for first login. A second email containing an automatically generated password. Immediately after having entered the user name and password in the login screen for first login, the user is prompted to change his/her password.
For existing Alfabet users, the password can be regenerated with one of the following command lines.
- AlfaAdministratorConsole.exe -msalias <alias name> -alfaLoginName <Alfabet user name> -alfaLoginPassword <password> -db_regeneratepassword -userNames <Alfabet user name,Alfabet user name>
Or:
- AlfaAdministratorConsole.exe -msalias <alias name> -alfaLoginName <Alfabet user name> -alfaLoginPassword <password> -db_regeneratepassword -userRefs <Alfabet user REFSTR,Alfabet user REFSTR>
The table below displays the command line options:
Command Line Option | Mandatory/ Default | Explanation |
---|---|---|
-db_regeneratepassword | Mandatory | To regenerate the password of one or multiple users, the tool must be started with the option:
|
-msalias <alias name> | Mandatory | Enter the server alias name as specified in the AlfabetMS.xml configuration file for access to the database. |
-msaliasesfile <Alfabet configuration file path> | Optional | If the AlfabetMS.xml configuration file that contains the specification of the alias is not located in the same directory as the executable, the path to the AlfabetMS.xml file must be specified with this parameter. |
-alfaLoginName <Alfabet user name> | Mandatory | Alfabet user name for login.
A user can only execute a batch job if the Can Execute Batch Jobs checkbox is selected (=True) for the user. |
-alfaLoginPassword <password> | Optional | Password of the Alfabet user defined with -alfaLoginName. |
-userNames <Alfabet user name> | Optional | Specify one Alfabet user name or multiple Alfabet user names in a comma-separated list to regenerate the password of all specified users. The users can be identified either by using this command line parameter or by using the -userRefs command line parameter. |
-userRefs <Alfabet user REFSTR> | Optional | Specify the REFSTR of one Alfabet user the REFSTR of multiple Alfabet users in a comma-separated list to regenerate the password of all specified users. Users are stored in the object class Person . The users can be identified either by using this command line parameter or by using the -userNames command line parameter. |