Add Commands
The dicfg add command adds users, groups, and aliases to a DiveLine server. The command has the following sub-commands. Click a command name to display a description, including any additional command options.
| Command | Description |
|---|---|
| dicfg add alias | Adds a new DiveLine alias. |
|
-source <name> -destination <path>
|
Creates a new alias, using the specified name and path. |
| Command | Description |
|---|---|
| dicfg add group | Adds a new DiveLine group. |
|
-group <name>
|
Specifies the new group name. |
| Command | Description |
|---|---|
| dicfg add user | Adds a new DiveLine user. |
|
-user <name>
|
Specifies the new user name. |
|
-password <string>
|
Specifies the user's DiveLine password. Applies to authentication type OWN only. |
|
-encrypt_password <string>
|
Specifies the user's encrypted DiveLine password. Applies to authentication type OWN only. |
|
-administrator <TRUE | FALSE>
|
When set to TRUE, specifies that the user is a DiveLine administrator. |
|
-hide_username <TRUE | FALSE>
|
When set to TRUE, hides the user’s login information from view in the ProDiver status bar. |
|
-groups <name>, <name>,...
|
Assigns the user to a group or set of groups. |
|
-change_password_flag <TRUE | FALSE>
|
When set to TRUE, allows the user to change their password in ProDiver or DivePort. Applies to authentication type OWN only. |
|
-licensing <string>
|
Sets the licensing level for the user. Available categories for Diver Platform are any of the user categories listed in your license, such as: Developer, ProDiver, DivePort, and DiveTab. If a user belongs to more than one category, use a comma-delimited list to set all the values. Available categories for Diver Solution are Casual, General, Advanced, and Developer. If none specified, defaults to Advanced. |
|
-auth_override <OWN | LDAP>
|
Re-sets the authentication for the user. |
|
-email <address>
|
Sets the e-mail address for the user. |
|
-fullname <name>
|
Sets the full name for the user. |
The following example add command connects to a remote server and adds a user and password, specifies that the user is an administrator, and assigns the user to two groups:
dicfg -remote admin:admin@localhost:6401 add user -user paulie -password startpass -administrator true -groups "finance, fis"
See also Command Line Utility dicfg.exe.