POST
/
api
/
v1
/
User
/
getroles
curl --request POST \
  --url https://saas.pads365.com/rdx/NDS.Services.Authentication/api/v1/User/getroles \
  --header 'Content-Type: application/json' \
  --data '{
  "UserIds": [
    "<string>"
  ],
  "Recursive": true
}'
{
  "Succeeded": true,
  "Message": "<string>",
  "Code": "<string>",
  "Results": [
    {
      "Succeeded": true,
      "Message": "<string>",
      "Code": 123,
      "UserId": "<string>",
      "Roles": [
        {
          "RoleId": "<string>",
          "Name": "<string>",
          "DisplayName": "<string>",
          "BuildIn": true,
          "ExternalGroups": [
            {
              "Id": "<string>",
              "ExternalAuthenticationProviderId": "<string>",
              "ExternalId": "<string>",
              "Name": "<string>"
            }
          ],
          "Inherited": true
        }
      ]
    }
  ]
}

Body

application/json

Response

200 - application/json

The response is of type object.