Create user defined role.
Namespace: Aerospike.ClientAssembly: AerospikeClient (in AerospikeClient.dll) Version: 3.8.2.0 (3.8.2)
Syntax
Parameters
- policy
- Type: Aerospike.Client AdminPolicy
admin configuration parameters, pass in null for defaults
- roleName
- Type:
System String
role name
- privileges
- Type:
System.Collections.Generic IList Privilege
privileges assigned to the role.
Exceptions
Exception | Condition |
---|---|
Aerospike.Client AerospikeException | if command fails |
See Also