Authentication

Get the principal document for the active user

Returns the principal for the active user.

get/myPrincipal

Request

  • Base URL: http://localhost:3000
  • URL: http://localhost:3000/myPrincipal
  • Auth: none declared

Response

The principal document for the logged in user

idstring

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

rolesIapCommonSchemaObjectId[]

Array of roles user has access to

roleNamesstring[]

Array of role names user has access to

routesstring[]

Array of routes logged in user has access to

Changes

No recorded changes to this operation across all 1 revision of this API.