--- id: get-the-user-roles title: "Get the user roles" description: "Gets the user roles corresponding to the agent making the request, or returns a 401 error if the user is unauthenticated." sidebar_label: "Get the user roles" hide_title: true hide_table_of_contents: true api: eJzFVt1v2zYQ/1eIwx4STInjoQ+Bij6kQZauK7agdrACUZDS0tliIpHq8eTGFfS/D0fJH7KzYd0e9iTyeHf8/Y73oQYy9CmZio2zEMM1sleco6o9kiJXoFepI0JfOZsZu1DswrleoGVV6qcgy1ERfqnRc6QcKUKuyXql1auzsUIiR8rMt36NV7XVNedo2aSaMTuFCLpLPHqIG/jp7Ew+qbOMlmWpq6oQZePs6NEL2gZ8mmOpZVWRq5DYdNaEvi74UI6lNoUseFUhxOCZjF1AG8HckOcHq0t88dhkO2JjGRdIQe4fdMpmuWs1c65AbdfH1tlV6Wr/skah/+5aidZfHLbRWuJmj5gyRMCGCxHceqSPfTAnXYQO1dsI8FmXVYHDgPUhWt8zjMxWKgEZD/gz1bjPuJPtcNw62FLbUhKUw3yc5qjSmkiSTSwE9quz8X9IjRK914t/FNFhiDaGcBty15H5hlmsLrZ5bJwNdWAIM3iBza5hd59eeIjv4LKnKC8H9xE8n6Quw0m4WxQaKLRdQAzp7ccPIBGdYbHdeldTKsjSmgp18kldX01VAjlzFY9GhUt1kTvP8fnZ+flIV2a0HI9KHIXyHiWgkiSxSp28Uwlc9AADmVi9RU1I6oeLy8uryeRh+vuvV78lAG20QXSz4tzZHUwbwQaVKStHvO4QPrGJXde6erMRny6QjwSH+g7oUWeQo86Q/Jtmj0ACsUqgJ5GA+lHpNEXvH9g9oW0Te5zYiozlozWgU8mfo+PjXYrv9VJPwjPu0BwItw/grBemG3b6qzas5shpHsh9J7VmwC9e79X+SwnRz+vHajqS08Dxc2fRykcIv05sBzLTrDcA9+j3Sq7A08ItjkT1+DW09xGUyLnLIIYFCvFKcw4xHMCXmCAtkbrsrUlC9iJz2C+SD3KsMlxi4apSqqLzFF6kc9RU5Nilrmjj0agRV23cSI61B94ua8+uXLuIYKnJ6FnR9YK1G1lnONehBQaYEAHaupTa7Lfy8VKbQ//vptMbtfHTRiBohv42fA/ATQIqJWfSCmV0/nIjToTL0MmLoertg3bbyvN4TGsyvAptvyP5+DW4moXk+NlRqcXf+z+m8kZBTSZSOIVNBwyk20iMHwjnhD7/t05kDNq56+gM0NcVksfdybUjktzp9JbjLiSeSx1aez82rpH3flX2A7QzJP7XP5s+HozPPKoKbcLkD6nc9BV0B7oywnoMUmPyN9QTkpTrcuoOmmamPd5S0bYi/lIjrSC+u9+mtewkCUO/CKX3hCuI4SJNMXSqpS5qwXIwMgfFfX01hbb9E706ecg= 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 roles corresponding to the agent making the request, or returns a 401 error if the user is unauthenticated.