User and Group Rights Mask

Several Web Services operations (createUser ; updateUser ; createGroup ; and updateGroup ) use a bit mask to designate explicitRights among the request elements. The table below lists the bit assignments for user and group rights. These values are additive and expressed in decimal. For example, to grant a user ACCESS_TOOLS, READ_ALL_RESOURCES, and MODIFY_ALL_STATUS rights explicitly, specify a bit mask value of 517.

User Right

Bit Mask Value

ACCESS_TOOLS

1

[reserved]

2

READ_ALL_RESOURCES

4

MODIFY_ALL_RESOURCES

8

READ_ALL_USERS

16

MODIFY_ALL_USERS

32

READ_ALL_CONFIG

64

MODIFY_ALL_CONFIG

128

READ_ALL_STATUS

256

MODIFY_ALL_STATUS

512

UNLOCK_RESOURCE

1024