SDK
SDK Dart v2.x
2

getRoleMapping #

Gets the mapping of the internal security roles collection.


Future<Map<String, dynamic>> getRoleMapping()

Return #

An object representing the internal roles mapping, using Elasticsearch mapping format.

Usage #

final result = await kuzzle.security.getRoleMapping();
/*
{ mapping: { controllers: { type: 'object', enabled: false } } }
*/