AerospikeClient.GrantRoles Method

Add roles to user's list of roles.

Definition

Namespace: Aerospike.Client
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 8.0.1+e35566e493546c0887ebb841c8e2a2c6a7cbde18
C#
public void GrantRoles(
	AdminPolicy policy,
	string user,
	IList<string> roles
)

Parameters

policy  AdminPolicy
admin configuration parameters, pass in null for defaults
user  String
user name
roles  IList<String>
role names. Predefined roles are listed in Role.cs

Implements

IAerospikeClient.GrantRoles(AdminPolicy, String, IList<String>)

See Also