Access the logged-in user object via API

I couldn't find a way to query the API to get the current logged user object.

As a workaround, I added a detail view of the user which is made invisible via CSS and its contents are read via jQuery to perform actions on the page.

We have Knack.getUserAttributes() that will return the name/email/object values as well as the user roles of the logged-in user.