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 #
kuzzle.whoAmI(new ResponseListener<User>() {
@Override
public void onSuccess(User myself) {
}
@Override
public void onError(JSONObject error) {
}
});
Edit this page on Github(opens new window)