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
idstringOptionalformat: "^[0-9a-f]{24}$"
String representation of a MongoDB ObjectId
provenancestringOptional
The name of the AAA adapter from which the user logged in
usernamestringOptional
The username of the logged in user
firstnamestringOptional
The first name of the logged in user
groupslist of objectsOptional
An array of groups which contain the logged in user
roleslist of stringsOptional
Array of roles user has access to
roleNameslist of stringsOptional
Array of role names user has access to
allowedMethodslist of objectsOptional
The API methods which a user has access to
allowedViewslist of objectsOptional
The URL pages which a user has access to
routeslist of stringsOptional
Array of routes logged in user has access to

Errors

500
Internal Server Error