SDK Javascript v5.x

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!
for (profileId of user.getProfileIds()) {