AerospikeClientCreateUser 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: 5.1.1.0 (5.1.1)
Syntax

C#
public void CreateUser(
	AdminPolicy policy,
	string user,
	string password,
	IList<string> roles
)

Parameters

policy
Type: Aerospike.ClientAdminPolicy
admin configuration parameters, pass in null for defaults
user
Type: SystemString
user name
password
Type: SystemString
user password in clear-text format
roles
Type: System.Collections.GenericIListString
variable arguments array of role names. Predefined roles are listed in Role.cs

Implements

IAerospikeClientCreateUser(AdminPolicy, String, String, IListString)
See Also

Reference