SDK
SDK Dart v1.x
2

# mGetProfiles

Gets multiple security profiles.


Copied to clipboard!
Future<List<KuzzleProfile>> mGetProfiles(List<String> ids)

Property Type Description
ids
List
Profile identifiers

# Return

An List of retrieved Profile objects.

# Usage

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