GET breeze/UserManagement/Roles

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of Role
NameDescriptionTypeAdditional information
Id

integer

None.

ClientId

string

Max length: 255

Client

Client

None.

Name

string

Max length: 512

Permissions

Collection of RolePermission

None.

Users

Collection of RightRezUser

None.

UserRoles

Collection of RightRezUserRole

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "$id": "1",
    "$type": "RightRez.DBLibrary.Web.Role, RightRez.Core",
    "Id": 1,
    "ClientId": "sample string 2",
    "Client": {
      "$id": "2",
      "$type": "RightRez.DBLibrary.Web.Client, RightRez.Core",
      "ClientId": "sample string 1"
    },
    "Name": "sample string 3",
    "Permissions": [
      {
        "$id": "3",
        "$type": "RightRez.DBLibrary.Web.RolePermission, RightRez.Core",
        "Id": 1,
        "RoleId": 2,
        "Role": {
          "$ref": "1"
        },
        "PermissionKey": "sample string 3"
      },
      {
        "$ref": "3"
      }
    ],
    "Users": [
      {
        "$id": "4",
        "$type": "RightRez.DBLibrary.Web.RightRezUser, RightRez.Core",
        "Active": true,
        "Title": "sample string 2",
        "FirstName": "sample string 3",
        "LastName": "sample string 4",
        "ClientId": "sample string 5",
        "GroupId": 1,
        "Group": {
          "$id": "5",
          "$type": "RightRez.DBLibrary.Web.UserGroup, RightRez.Core",
          "Id": 1,
          "ClientId": "sample string 2",
          "Client": {
            "$ref": "2"
          },
          "Name": "sample string 3",
          "Settings": [
            {
              "$id": "6",
              "$type": "RightRez.DBLibrary.Web.UserGroupSetting, RightRez.Core",
              "Id": 1,
              "GroupId": 2,
              "Group": {
                "$ref": "5"
              },
              "SettingKey": "sample string 3",
              "SettingValue": "sample string 4"
            },
            {
              "$ref": "6"
            }
          ],
          "Users": [
            {
              "$ref": "4"
            },
            {
              "$ref": "4"
            }
          ]
        },
        "UserRoles": [
          {
            "$id": "7",
            "$type": "RightRez.DBLibrary.Web.RightRezUserRole, RightRez.Core",
            "UserId": "sample string 1",
            "User": {
              "$ref": "4"
            },
            "RoleId": 2,
            "Role": {
              "$ref": "1"
            }
          },
          {
            "$ref": "7"
          }
        ],
        "CustomRoles": [
          {
            "$ref": "1"
          },
          {
            "$ref": "1"
          }
        ],
        "Permissions": [
          {
            "$id": "8",
            "$type": "RightRez.DBLibrary.Web.RightRezUserPermission, RightRez.Core",
            "Id": 1,
            "UserId": "sample string 2",
            "User": {
              "$ref": "4"
            },
            "PermissionKey": "sample string 3"
          },
          {
            "$ref": "8"
          }
        ],
        "Settings": [
          {
            "$id": "9",
            "$type": "RightRez.DBLibrary.Web.RightRezUserSetting, RightRez.Core",
            "Id": 1,
            "UserId": "sample string 2",
            "User": {
              "$ref": "4"
            },
            "SettingKey": "sample string 3",
            "SettingValue": "sample string 4"
          },
          {
            "$ref": "9"
          }
        ],
        "Email": "sample string 6",
        "EmailConfirmed": true,
        "PasswordHash": "sample string 8",
        "SecurityStamp": "sample string 9",
        "PhoneNumber": "sample string 10",
        "PhoneNumberConfirmed": true,
        "TwoFactorEnabled": true,
        "LockoutEndDateUtc": "2025-06-02T19:55:40.565+00:00",
        "LockoutEnabled": true,
        "AccessFailedCount": 14,
        "Roles": [],
        "Claims": [],
        "Logins": [],
        "Id": "sample string 15",
        "UserName": "sample string 16"
      },
      {
        "$ref": "4"
      }
    ],
    "UserRoles": [
      {
        "$ref": "7"
      },
      {
        "$ref": "7"
      }
    ]
  },
  {
    "$ref": "1"
  }
]