GET API/V1/Mobile/Authentication/SecurityInformation

Request Information

URI Parameters

NameDescriptionTypeAdditional information
loginDateTime

date

Required

Body Parameters

None.

Response Information

Resource Description

iMDsoft.API.Metavision.Data.Authentication.Entities.UserSecurityInformation
NameDescriptionTypeAdditional information
UserId

integer

None.

LoginName

string

None.

UserRoles

Collection of iMDsoft.API.Metavision.Data.Authentication.Entities.UserRole

None.

Response Formats

application/json, text/json

Sample:
{
  "userId": 1,
  "loginName": "sample string 2",
  "userRoles": [
    {
      "userRoleId": 1,
      "role": {
        "roleId": 1,
        "name": "sample string 2",
        "externalCode": "sample string 3",
        "departments": [
          {
            "id": 1,
            "name": "sample string 2"
          },
          {
            "id": 1,
            "name": "sample string 2"
          }
        ]
      },
      "externalCode": "sample string 2",
      "validityDateRange": {
        "validFrom": "2024-11-07T02:39:37.6677976+02:00",
        "validTo": "2024-11-07T02:39:37.6677976+02:00"
      }
    },
    {
      "userRoleId": 1,
      "role": {
        "roleId": 1,
        "name": "sample string 2",
        "externalCode": "sample string 3",
        "departments": [
          {
            "id": 1,
            "name": "sample string 2"
          },
          {
            "id": 1,
            "name": "sample string 2"
          }
        ]
      },
      "externalCode": "sample string 2",
      "validityDateRange": {
        "validFrom": "2024-11-07T02:39:37.6677976+02:00",
        "validTo": "2024-11-07T02:39:37.6677976+02:00"
      }
    }
  ]
}