User's Manual

134 Onity HT24W / HT28 Smart
Appendix B – Import Users
Add User Command
It is possible to import users into the system using a plain text file. Each line of this
file contains a command to execute. The lines that begin with character “#” are
considered comments.
The message itself has two fields: the command and the command parameters or
fields. The command is the first character of the line and must be separated from the
fields by a space character. Spaces at the beginning or end of a line are disregarded.
Separators delimit every field within the message. The separator is the comma
character represented as ‘,’ in this document. If a field is missing, its separators will
still be part of the message.
If a comma is to be present within a given field, e.g. user names (Smith, John), the
field is enclosed in double quotes.
Each command that cannot be executed correctly will create an error line. Following
is the format of the import command (note the ‘_’ character represents a space):
Command Description
A
Adds a new user to the database.