AerospikeClient CreateUser Method Aerospike
Create user with password and roles. Clear-text password will be hashed using bcrypt before sending to server.

Namespace: Aerospike.Client
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 3.0.0.0 (3.0.8)
Syntax

Parameters

policy
Type: Aerospike.Client AdminPolicy
admin configuration parameters, pass in null for defaults
user
Type: OnlineSystem String
user name
password
Type: OnlineSystem String
user password in clear-text format
roles
Type: OnlineSystem.Collections.Generic List OnlineString 
variable arguments array of role names. Valid roles are listed in Role.cs
See Also