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 } } }
*/
Edit this page on Github(opens new window)