User class getters #
content #
Returns a JSON string representing the user's content stored by Kuzzle.
Signature #
const std::string& content() const;
id #
Returns the user's unique identifier (or kuid).
Signature #
const std::string& id() const;
profile_ids #
Returns the list of profile identifiers attached to this user.
Signature #
const std::vector<std::string>& profile_ids() const;
Usage #
kuzzleio::User user;
std::string user_content = user.content();
std::string user_id = user.id();
std::vector<std::string> profile_ids = user.profile_ids();
Edit this page on Github(opens new window)