IAerospikeClient.GrantRoles Method
Add roles to user's list of roles.
Namespace: Aerospike.ClientAssembly: AerospikeClient (in AerospikeClient.dll) Version: 8.0.1+e35566e493546c0887ebb841c8e2a2c6a7cbde18
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