CPX200N ALARM CONTROL UNIT – INSTALLER MANUAL
92 / 106
10.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 8 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
adminPassword
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:
CPSETUSERPPARTITIONS: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