SDK
SDK PHP v3.x
1

You are currently looking at the documentation of a previous version of Kuzzle. We strongly recommend that you use the latest version. You can also use the version selector in the top menu.

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) {
}