api.user

User api class handles authenticated users.

user.getUserInfo() ⇒ Object

Get current logged in user info object. Object contains info about current user, organisation, selected unit and permissions

Returns: Object - Promise(<}>)

user.logout() ⇒

Logout current user and reload page to trigger new login flow

Returns: void

results matching ""

    No results matching ""