Dart 2.x

getRoleMapping

Gets the mapping of the internal security roles collection.


Copied to clipboard!
Future<Map<String, dynamic>> getRoleMapping()

Return

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

Usage

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