SDK
SDK Dart Null Safety v3.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 } } }
*/