IAerospikeClientGrantPrivileges Method

Grant privileges to an user defined role.

Definition

Namespace: Aerospike.Client
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 8.1.0+5933a5a54dcb0179652c01f6f4d6ef13e789846e
C#
void GrantPrivileges( AdminPolicy policy, string roleName, IList<Privilege> privileges )

Parameters

policy  AdminPolicy
admin configuration parameters, pass in null for defaults
roleName  String
role name
privileges  IListPrivilege
privileges assigned to the role.

Exceptions

AerospikeExceptionif command fails

See Also