SDK Java v2.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.

whoAmI #

Returns informations about the user who is currently loggedin.

whoAmI(callback) #

Arguments Type Description
callback function Callback handling the response

Callback Response #

Returns an instantiated User object.

Usage #

Copied to clipboard!
kuzzle.whoAmI(new ResponseListener<User>() {
  public void onSuccess(User myself) {
  public void onError(JSONObject error) {