mGetRoles #
Gets multiple security roles.
Future<List<KuzzleRole>> mGetRoles(
List<String> ids)
Property | Type | Description |
---|---|---|
ids | List<String> | Roles identifiers |
Resolves #
A List of retrieved Role
objects.
Usage #
final result = await kuzzle.security.mGetRoles([
'role1',
'role2',
'role3'
]);
/*
[ Role {
_id: 'role1',
controllers: { '*': [Object] } },
Role {
_id: 'role2',
controllers: { '*': [Object] } },
Role {
_id: 'role3',
controllers: { '*': [Object] } } ]
*/
Edit this page on Github(opens new window)