Permission codes define the type of permission granted for a user's role.
Namespace: Aerospike.Client
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 5.1.1.0 (5.1.1)
Syntax
C#
public enum PrivilegeCode
Members
Member name | Value | Description | |
---|---|---|---|
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+ |
See Also