SDK
SDK Dart v2.x
2

mGetProfiles #

Gets multiple security profiles.


Future<List<KuzzleProfile>> mGetProfiles(List<String> ids)

PropertyTypeDescription
idsList<String>Profile identifiers

Return #

An List of retrieved Profile objects.

Usage #

final result = await kuzzle.security.mGetProfiles([
  'profile1',
  'profile2',
  'profile3'
]);
/*
[ Profile {
    _id: 'profile1',
    policies: [ [Object] ] },
  Profile {
    _id: 'profile2',
    policies: [ [Object] ] },
  Profile {
    _id: 'profile3';
    policies: [ [Object] ] } ]
*/