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: 4.0.0.0 (4.0.0)
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 IList String
variable arguments array of role names. Predefined roles are listed in Role.cs
See Also