Create user with password and roles. Clear-text password will be hashed using bcrypt
before sending to server.
Namespace: Aerospike.ClientAssembly: AerospikeClient (in AerospikeClient.dll) Version: 3.0.0.0 (3.0.12)
Syntax
Parameters
- policy
- Type: Aerospike.Client AdminPolicy
admin configuration parameters, pass in null for defaults
- user
- Type:
System String
user name
- password
- Type:
System String
user password in clear-text format
- roles
- Type:
System.Collections.Generic List
String
variable arguments array of role names. Valid roles are listed in Role.cs
See Also