PrivilegeCode Enumeration
Permission codes define the type of permission granted for a user's role.
Namespace: Aerospike.ClientAssembly: AerospikeClient (in AerospikeClient.dll) Version: 7.4.0+0f57007ab339dd64ba832432e6e4e74f3d9832da
public enum PrivilegeCode
USER_ADMIN | 0 |
User can edit/remove other users. Global scope only.
|
SYS_ADMIN | 1 |
User can perform systems administration functions on a database that do not involve user
administration. Examples include server configuration.
Global scope only.
|
DATA_ADMIN | 2 |
User can perform UDF and SINDEX administration actions. Global scope only.
|
UDF_ADMIN | 3 |
User can perform user defined function(UDF) administration actions.
Examples include create/drop UDF. Global scope only.
Requires server version 6.0+
|
SINDEX_ADMIN | 4 |
User can perform secondary index administration actions.
Examples include create/drop index. Global scope only.
Requires server version 6.0+
|
READ | 10 |
User can read data.
|
READ_WRITE | 11 |
User can read and write data.
|
READ_WRITE_UDF | 12 |
User can read and write data through user defined functions.
|
WRITE | 13 |
User can write data.
|
TRUNCATE | 14 |
User can truncate data.
Requires server version 6.0+
|