AerospikeClient CreateRole Method (AdminPolicy, String, IList Privilege , IList String )Aerospike
Create user defined role with optional privileges and whitelist.

Namespace: Aerospike.Client
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 3.9.1.0 (3.9.1)
Syntax

Parameters

policy
Type: Aerospike.Client AdminPolicy
admin configuration parameters, pass in null for defaults
roleName
Type: OnlineSystem String
role name
privileges
Type: OnlineSystem.Collections.Generic IList Privilege 
optional list of privileges assigned to role.
whitelist
Type: OnlineSystem.Collections.Generic IList OnlineString 
optional list of allowable IP addresses assigned to role. IP addresses can contain wildcards (ie. 10.1.2.0/24).
Exceptions

See Also