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
id
String representation of a MongoDB ObjectId
provenance
The name of the AAA adapter from which the user logged in
username
The username of the logged in user
firstname
The first name of the logged in user
groups
An array of groups which contain the logged in user
roles
Array of roles user has access to
roleNames
Array of role names user has access to
allowedMethods
The API methods which a user has access to
allowedViews
The URL pages which a user has access to
routes
Array of routes logged in user has access to
Errors
500
Internal Server Error