SDK
SDK Dart Null Safety v3.x
2

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 } } }
*/