CPX230NWB ALARM CONTROL PANEL – INSTALLER MANUAL
126 / 144
EN
9.1.3.
Commands for managing the users
9.1.3.1.
CPGETUSERS
Format:
CPGETUSERS[= adminPassword]
Limitations:
This command only works when sent through an encrypted way, you must
know the administrator password (the user id = 0). The command needs
the option “Allow remote user management” to be set active in the
Configurator. Can be executed only by ATS or administrator. If the
command is executed by the ATS, give
adminPassword
.
Description
Gets a list of users defined in the device.
adminPassword
is the system
administrator password. The command returns:
CPGETUSERS:id:name:partitions,…
Where
id
is the user number,
name
is the text user name (which may be
empty),
partitions
is the bit-vector specifying the partitions to which the
user is authorized – bit 0 corresponds to the partition 1 , bit 1 to the
partition 2. The user with id = 0 is the administrator
CPGETUSERS:EPERMISIONS
If the administrator password specified is incorrect
CPGETUSERS:ENOT_ALLOWED
If the command is sent via open SMS or the configuration does not allow
remote management of users
CPGETUSERS:EFORMAT
If the format of the sent command is incorrect
9.1.3.2.
CPGETUSERID
Format:
CPGETUSERID=password
Limitations:
This command only works when sent through an encrypted way and the
option “Allow remote user management” is set to active in the
Configurator. Possible to execution only by ATS.