IAerospikeClientCreateUser Method

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: 6.0.1
void CreateUser(
	AdminPolicy policy,
	string user,
	string password,
	IList<string> roles


policy  AdminPolicy
admin configuration parameters, pass in null for defaults
user  String
user name
password  String
user password in clear-text format
roles  IListString
variable arguments array of role names. Predefined roles are listed in Role.cs

See Also