Summary
          Gets the user profile for the active user
          Description
          Gets the user profile for the active user
          Route
          GET /profile/:username
          Roles
          
            
          
          Parameters
          
            DetailsExampleSchema
          
          
            
              
                | Name | Type | Required | Description | 
            
            
              
    | username | string | yes | The exact username for the logged in user | 
            
          
          
          
            Copied to Clipboard
            
            {
  "type": "object",
  "properties": {},
  "required": [],
  "additionalProperties": false
}
           
          Return
          
            DetailsExampleSchema
          
          
            
              
                | Name | Type | Description | 
            
            
              
                | result | object | The account document for the logged in user. | 
            
          
          
            Copied to Clipboard
            
            {
  "provenance": "Local AAA",
  "username": "john_doe",
  "firstname": "John",
  "memberOf": [
    {
      "aaaManaged": true,
      "groupId": "5cb7b531d06cceb89fd21b1c"
    },
    {
      "aaaManaged": false,
      "groupId": "5cb7b531d06cceb89fd21b1c"
    }
  ],
  "assignedRoles": [
    {
      "roleId": "5cb7b531d06cceb89fd21b1c"
    }
  ],
  "inactive": true,
  "gitTokens": {
    "GitHub": "id laboris veniam",
    "GitLab": "ipsum consequat"
  },
  "lastLogin": "2018-08-02T15:56:12.912Z",
  "sso": true,
  "nameID": "pariatur nostrud enim minim",
  "_meta": {
    "created": "2018-08-02T15:56:12.912Z",
    "updated": "2018-08-02T15:56:12.912Z"
  },
  "email": "name@email.com",
  "isServiceAccount": false,
  "loggedIn": false
}