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.1.0.0 (3.1.6.1)
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 IList OnlineString 
variable arguments array of role names. Predefined roles are listed in Role.cs
See Also