{{sidenavigation.sidenavigationExpandLabel}}
{{getMsg('Help_YouAreHere')}}: {{page.title}} {{page.title}}
{{$root.getMsg("downLoadHelpAsPdf")}} {{helpModel.downloadHelpPdfDataStatus}}

Me

Returns information about the currently authenticated user. It only serves informational nature and does not allow modifying the user. However, a location redirection to the actual user object is provided.

The implementation of i-net Clear Reports only allows read-access to this handler. You have to use the Users handler to modify the current user.

GET /api/scim/v2/me

Get information about the currently logged-in user. See RFC7644 for additional information about the expected responses.

Example Request

# Request
GET /api/scim/v2/me HTTP/1.1
Authorization: Bearer VGhpcyBpcyBqdXN0IGEgZGVtbyBhY2Nlc3MgdG9rZW4u
 
# Response
HTTP/1.1 200 OK
Location https://127.0.0.1:9000/api/scim/v2/users/sys02qmoxwlwprnnovhrxtx7n
Content-Type: application/scim+json
 
{
  "profileURL": "https://127.0.0.1:9000/usersandgroups/user/sys02qmoxwlwprnnovhrxtx7n",
  "emails": [
    {
      "type": "work",
      "value": "administrator@demo.local",
      "primary": true
    }
  ],
  "meta": {
    "location": "https://127.0.0.1:9000/api/scim/v2/Users/sys02qmoxwlwprnnovhrxtx7n",
    "lastModified": "2024-09-03T09:10:33Z",
    "resourceType": "User"
  },
  "displayName": "Jane Doe",
  "name": {
    "formatted": "Jane Doe",
    "familyName": "Doe",
    "givenName": "Jane"
  },
  "externalId": "sys02qmoxwlwprnnovhrxtx7n",
  "active": true,
  "groups": [
    {
      "id": "sys00paaukvarqba17x9hxc09",
      "$ref": "https://127.0.0.1:9000/api/scim/v2/Groups/sys00paaukvarqba17x9hxc09"
    },
    {
      "id": "0cx28urjt4d7akrc1as6vbjad",
      "$ref": "https://127.0.0.1:9000/api/scim/v2/Groups/0cx28urjt4d7akrc1as6vbjad"
    },
    {
      "id": "sys01og8a626ajrepb47rblh0",
      "$ref": "https://127.0.0.1:9000/api/scim/v2/Groups/sys01og8a626ajrepb47rblh0"
    },
    {
      "id": "sys09dlmeidonrthlu42m0jcc",
      "$ref": "https://127.0.0.1:9000/api/scim/v2/Groups/sys09dlmeidonrthlu42m0jcc"
    }
  ],
  "id": "sys02qmoxwlwprnnovhrxtx7n",
  "userName": "admin",
  "photos": [
    {
      "type": "photo",
      "value": "https://127.0.0.1:9000/usersandgroups/?method=usersandgroupsmanager_geticon&hash=user%0Asys02qmoxwlwprnnovhrxtx7n"
    }
  ],
  "urn:ietf:params:scim:schemas:extension:enterprise:2.0:User": {
    "organization": "_nicht zugeordnet"
  },
  "schemas": [
    "urn:ietf:params:scim:schemas:core:2.0:User",
    "urn:ietf:params:scim:schemas:extension:enterprise:2.0:User"
  ]
}

Application Example

# Browser access
https://127.0.0.1:9000/api/scim/v2/me
 
# Shell access using curl
curl -LsH "Authorization: Bearer <access_token>" "https://127.0.0.1:9000/api/scim/v2/me"
 
# Shell access using curl using username and password
curl -Lsu username:password "https://127.0.0.1:9000/api/scim/v2/me"
i-net Clear Reports
This application uses cookies to allow login. By continuing to use this application, you agree to the use of cookies.


Help - /Me