IAerospikeClientGrantPrivileges Method

Aerospike
Grant privileges to an user defined role.

Namespace:  Aerospike.Client
Assembly:  AerospikeClient (in AerospikeClient.dll) Version: 5.1.1.0 (5.1.1)
Syntax

C#
void GrantPrivileges(
	AdminPolicy policy,
	string roleName,
	IList<Privilege> privileges
)

Parameters

policy
Type: Aerospike.ClientAdminPolicy
admin configuration parameters, pass in null for defaults
roleName
Type: SystemString
role name
privileges
Type: System.Collections.GenericIListPrivilege
privileges assigned to the role.
Exceptions

ExceptionCondition
AerospikeExceptionif command fails
See Also

Reference