addormodify

The addormodify action is used for importing users, billing codes and departments into Equitrac. When this action is used, the user, department or billing code is either added or updated, depending if it already exists in Equitrac.

Use an exclamation mark “!” for a parameter if it should be set to the default value when adding or if it should keep its current value when modifying. The 'Initial Balance' cannot be updated for an existing user, billing code and department.

Add or modify a user:

addormodify ur <user_id> [<init_bal> <user_name> <min_bal> <email> <dept_name> <primaryPIN> <secondaryPIN> <quota> <alternatePIN> <home_server> <locked> <location> <def_bc> <additional_info> <home_folder>]
Example: EQCmd -sMyServer addormodify ur JohnD 35.50 “John Doe” 25.00 ! Accounting 123 456 20 321 WATSRV 1 ! travels “Smart guy” UserX_folder

Add or modify a department:

addormodify dp <dept_name> [<init_bal> <desc> <min_bal> <primaryPIN> <secondaryPIN>]

Add or modify a billing code:

addormodify bc <bc_name> [<init_bal> <desc> <min_bal> <primaryPIN> <secondaryPIN>]