Get the principal document for the active user

Returns the principal for the active user.

Authentication

AuthorizationBasic

Basic authentication of the form Basic <base64(username:password)>.

Response

The principal document for the logged in user
idstringformat: "^[0-9a-f]{24}$"
String representation of a MongoDB ObjectId
provenancestring
The name of the AAA adapter from which the user logged in
usernamestring
The username of the logged in user
firstnamestring
The first name of the logged in user
groupslist of objects
An array of groups which contain the logged in user
roleslist of strings
Array of roles user has access to
roleNameslist of strings
Array of role names user has access to
allowedMethodslist of objects
The API methods which a user has access to
allowedViewslist of objects
The URL pages which a user has access to
routeslist of strings
Array of routes logged in user has access to

Errors

500
Internal Server Error