Unknown SDK

getProfileIds

Returns the list of profile identifiers associated with this user.


Return Value

Returns an array of strings, each a profile identifier associated with this user.

Usage

Copied to clipboard!
<?php
use Kuzzle\Security\User;
// ...
/*
  * @var $user User
  */
foreach($user->getProfileIds() as $profileId) {
}