---
id: get-the-user-object
title: "Get the user object"
description: "Gets the user object corresponding to the agent making the request, or returns a 401 error if the user is unauthenticated."
sidebar_label: "Get the user object"
hide_title: true
hide_table_of_contents: true
api: eJzFVlFv2zYQ/ivEYQ8JpsTx0IdCRR+yIEvXFVtQO9iAKEhp6WwxkUj1eHLjCfrvw1GyLTnZEGwPexJ5PB6/7+PdUQ1k6FMyFRtnIYYrZK84R1V7JOUWD5iySh0R+srZzNiVYhcc9Aotq1I/BluOivBrjZ4j5UgRck3WK63enE0VEjlSZrkPbLyqra45R8sm1YzZKUTQHeLRQ9zAD2dn8kmdZbQsQ11VhTgbZycPXuA24NMcSy2jilyFxKbbTejrgp/bsdSmkAFvKoQYPJOxK2gjWBryfG91iS8um2xgNpZxhRTs/l6nbNbDXQvnCtR2u2yd3ZSu9i97FPqfjhW1/maxjbaW7pogAjZciOHGI33uxZx1Cj13byPAJ11WBY4F6yXanjNWZm8VQaYj/kw1HjLubAOO+wB7antKgnKckPMcVVoTSbLJDoH95mz6H1KjRO/16lWKjiXabYSbkLuOzJ+Yxep8n8fG2VAHhjCDF9gMN3bn6ZWH+BYueopyc3AXwdNJ6jKchbPFoYFC2xXEkN58/gSi6AKL/dS7mlJBltZUqJM/1NXlXCWQM1fxZFK4VBe58xy/PXv7dqIrM1lPJyVOElBJklilTj6oBM57aIFGrH5ETUjqu/OLi8vZ7H7+2y+XvyYAbbTDcr3h3NkBmp1hh8eUlSPe9gaf2MRuq1y935lPV8hHgkO9CnTUueaoMyT/vjmAnkCsEujhJ6C+VzpN0ft7do9o28QeJ7YiY/loC+VUcubo+HhI7qNe61m4ugHBkXEvurNeOO546W/asFoip3mg9WpSzYhZvJ2rw9sRil+2F9R09OaB3ZduRysfofousR28TLPeQTsg3ju5Ak8LtzoS1+N30N5FUCLnLoMYViiUK805xDAALjogrZG6LK1JZHqRLRwWwydZVhmusXBVKdnfRQq30AVqKnLsUle08WTSSKg2biSj2mfRLmrPrtyGiGCtyehF0dX8NoyMM1zq0OoCTIgAbV1KDfZT+XipwXH8D/P5tdrFaSMQNON4O77PwM0CKiVr0vLkifz5WoIIl3GQF6Xq9wfvtpWL8ZjWZHgT2ntH8uFbCLUIafGTo1JLvI+/z+WOgpu8PGEVdp0ukG4j2XxPuCT0+b8NIs+dXbqOzgh9XSF5HL5QA5PkTue3nnaSeC51aOH983CFfPhPcqjQ4DX4f/9hekUYn3hSFdqENz4kc9NXzy3oygjvKUh9QQSSbF023ULTLLTHGyraVsxfa6QNxLd3+4SWmaRf6BGh6B5xAzGcpymGvrTWRS0Ynj2Ko4K+upxD2/4FuGhu2Q==
sidebar_class_name: "get api-method"
info_path: developer-docs/api/superset
custom_edit_url: null
hide_send_button: true
show_extensions: true
---
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
import ParamsDetails from "@theme/ParamsDetails";
import RequestSchema from "@theme/RequestSchema";
import StatusCodes from "@theme/StatusCodes";
import OperationTabs from "@theme/OperationTabs";
import TabItem from "@theme/TabItem";
import Heading from "@theme/Heading";
import Translate from "@docusaurus/Translate";
Gets the user object corresponding to the agent making the request, or returns a 401 error if the user is unauthenticated.