This command adds or updates user Logins to the UVMS tables.
Syntax:
uniadd LOGIN -login <arg> –pwd <arg> -pwdfile <arg> -type <arg> -label <arg> -override -offline
Parameter |
Description |
---|---|
-login <arg> |
Mandatory. Login name |
-pwd <arg> |
Login password. Mandatory if -pwdfile is not used. Incompatible with -pwdfile. The login and password can only contain the following characters: ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789!#&'()+,-.:;>=<?@[]_{|}~ |
-pwdfile <arg> |
Login password file (only for internal mode). Mandatory if -pwd is not used. Incompatible with -pwd. |
-type <arg> |
Login type: internal or LDAP. Several values are possible (not case sensitive): I: internal. (default) L: LDAP (external). |
-label <arg> |
Login label |
-offline |
Mandatory to execute the command if the Univiewer Management Server is stopped. (internal database only). |
-override |
Optional, force Login update if it already exists |
-help |
Displays the command online help |
The new Login authentication type depends on the authentication type of the UVMS. If internal, the new Login will be declared as an internal Login (password required). If external, the new Login will be declared as an external Login (no password required). Note that, when using this command to create an external Login, the presence of the Login in the LDAP registry is not verified.
Example 1:
uniadd login -login eca -pwd abcde
Adding login eca
User eca successfully added.
Example 2:
uniadd login -login eca -pwdfile "C:\temp\pwd"
Adding login eca
User eca successfully added.