For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Open sourceSupportFAQsDocs Home
DocumentationAPI referenceRelease notes
DocumentationAPI referenceRelease notes
  • Introduction
    • Overview
    • Authentication
  • Guides
    • Operations Manager search APIs
    • Search API
    • URL query parameters
    • Use query parameters in API requests
  • Reference
        • POSTAdd service to catalog store
        • POSTCreate a new service order
        • POSTDelete a service
        • GETExport a catalog item
        • GETGet current user
        • GETGet form data
        • GETGet form ID for service
        • GETGet multiple forms
        • GETGet user groups
        • GETGet workflows
        • POSTImport a catalog items
        • POSTInvoke service order
        • GETList of service models
        • GETList services in store
        • POSTUpdate a service in catalog store
LogoLogo
Open sourceSupportFAQsDocs Home
ReferenceService Catalog

Get current user

GET
http://localhost:3000/service_catalog/GetUserObject
GET
/service_catalog/GetUserObject
$curl http://localhost:3000/service_catalog/GetUserObject \
> -u "<username>:<password>"
1{
2 "accountId": "5c8bff0370102c001502d1f7",
3 "provenance": "Local AAA",
4 "username": "admin@pronghorn",
5 "token": "ZmFjZDNmM2E5OGFiNzBiMjJjODFmYmZmYjI1MGU0MDc=",
6 "groups": [
7 {
8 "_id": "fe1bfeee-61b8-404d-aefc-dc57be92ff02",
9 "provenance": "Local AAA",
10 "name": "pronghorn_admin",
11 "description": "pronghorn_admin",
12 "memberOf": [
13 "group1"
14 ],
15 "assignedRoles": [
16 "engineer"
17 ],
18 "inactive": true,
19 "_meta": {
20 "created": "2019-03-15T19:37:39.112Z",
21 "updated": "2019-03-15T19:37:39.112Z"
22 }
23 }
24 ]
25}
Returns the current user logged in the system.
Was this page helpful?
Previous

Get form data

Next
Built with

Authentication

AuthorizationBasic

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

Response

Return the username and the user group's names.
accountIdstring
provenancestring
usernamestring
tokenstring
groupslist of objects

Errors

500
Internal Server Error