CPX230NWB ALARM CONTROL PANEL – INSTALLER MANUAL
127 / 144
EN
Description
Verifies the user code specified as an argument of the command – checks
whether a user with the specified code exists.
Password
is the password of the user,
id
is the user number,
partitions
are
the partitions to which the user is authorized – bit 0 corresponds to the
partition 1 , bit 1 to the patition 2. The command returns:
CPGETUSERID:EOK,id,partitions
If the user with the specified code exists
CPGETUSERID:EPERMISIONS
If the specified password is incorrect
CPGETUSERID:ENOT_ALLOWED
If the command is sent via open SMS or the configuration does not allow
remote management of users
CPGETUSERID:EFORMAT
If the format of the sent command is incorrect
9.1.3.3.
CPSETUSERPARTITIONS
Format:
CPSETUSERPARTITIONS=id,partitions[,adminPassword]
Limitations:
This command only works when sent through an encrypted way, you must
know the administrator password (the user id = 0), id ranging from 1 to
31 inclusive. 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 ATS, specify
a
dminPassword
.
Description
Sets the user authorization to the partition. Id is the number of the user
whose authorizations are changed, the
partitions
is the bit-vector with the
partitions to which the user should have the authorization – bit 0
corresponds to the partition 1, bit 1 to the partition 2,
adminPassword
is
the system administrator password. The command returns:
CPSETUSERPARTITIONS:EOK,id,partitions
If the change of the partition assignment was successful
CPSETUSERPARTITIONS:ENOT_EXISTS,id,partitions
If the specified user does not exist
CPSETUSERPARTITIONS:EPERMISIONS,id,partitions
If the administrator password specified is incorrect
CPSETUSERPARTITIONS:ENOT_ALLOWED
If the command is sent via open SMS or the configuration does not allow
remote management of users
CPSETUSERPARTITIONS:EFORMAT
If the format of the sent command is incorrect