GET api/User

Get user information for current user

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Get user information for current user

UserModel
NameDescriptionTypeAdditional information
Login

Read only.

string

None.

Email

string

None.

FirstName

string

None.

LastName

string

None.

UserGroupId

integer32

Null values possible.

Permissions

PermissionEnum

None.

Permissions2

Permission2Enum

None.

DecimalSymbol

Allowed values: '.' and ','

string

None.

DigitGrouping

Allowed values: '.' and ','

string

None.

TemperatureUnit

The users selected UI Temperature unit setting. All temperature values returned from API are raw values in degrees Celcius regardless of this setting. 0 = Celsius, 1 = Fahrenheit

integer32

Null values possible.

DistanceUnit

The users selected UI Distance unit setting. All distance values returned from API are raw values in meters regardless of this setting. 0 = Meters and Kilometers, 1 = Feet and Miles

integer32

Null values possible.

SpeedUnit

The users selected UI Speed unit setting. All speed values returned from API are raw values in km/h regardless of this setting. 0 = km/h, 1 = mph

integer32

Null values possible.

UILanguage

The users selected UI language setting. All string values returned from API are in english regardless of this setting

LanguageModel

None.

AllowedUILanguages

Read Only. The users allowed UI languages, based on current permissions.

Collection of LanguageModel

None.

TimeZone

The Users selected UI Timezone. All date/time values returned from API are in UTC regardless of this setting

TimeZoneModel

None.

TimeZones

Read Only. The available system timezones

Collection of TimeZoneModel

None.

LatestWebLogin

Read Only. Time of latest login on TDP website

date

Null values possible.

NewsletterSubscribed

Send me the official Trusted newsletter

boolean

None.

ReleaseInfoSWSubscribed

Send me updates on new software releases

boolean

None.

SystemInfoSubscribed

Send me notifications on system maintenance

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "Login": "sample string 1",
  "Email": "sample string 2",
  "FirstName": "sample string 3",
  "LastName": "sample string 4",
  "UserGroupId": 1,
  "Permissions": 1,
  "Permissions2": 0,
  "DecimalSymbol": "sample string 5",
  "DigitGrouping": "sample string 6",
  "TemperatureUnit": 1,
  "DistanceUnit": 1,
  "SpeedUnit": 1,
  "UILanguage": {
    "Id": 1,
    "LanguageName": "sample string 2",
    "CultureName": "sample string 3"
  },
  "AllowedUILanguages": [
    {
      "Id": 1,
      "LanguageName": "sample string 2",
      "CultureName": "sample string 3"
    },
    {
      "Id": 1,
      "LanguageName": "sample string 2",
      "CultureName": "sample string 3"
    }
  ],
  "TimeZone": {
    "Id": 1,
    "TimeZoneInfoId": "sample string 2",
    "StandardName": "sample string 3",
    "DisplayName": "sample string 4"
  },
  "TimeZones": [
    {
      "Id": 1,
      "TimeZoneInfoId": "sample string 2",
      "StandardName": "sample string 3",
      "DisplayName": "sample string 4"
    },
    {
      "Id": 1,
      "TimeZoneInfoId": "sample string 2",
      "StandardName": "sample string 3",
      "DisplayName": "sample string 4"
    }
  ],
  "LatestWebLogin": "2024-11-21T09:58:12.1710837+00:00",
  "NewsletterSubscribed": true,
  "ReleaseInfoSWSubscribed": true,
  "SystemInfoSubscribed": true
}

application/xml, text/xml

Sample:
<UserModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models">
  <AllowedUILanguages>
    <UserModel.LanguageModel>
      <CultureName>sample string 3</CultureName>
      <Id>1</Id>
      <LanguageName>sample string 2</LanguageName>
    </UserModel.LanguageModel>
    <UserModel.LanguageModel>
      <CultureName>sample string 3</CultureName>
      <Id>1</Id>
      <LanguageName>sample string 2</LanguageName>
    </UserModel.LanguageModel>
  </AllowedUILanguages>
  <DecimalSymbol>sample string 5</DecimalSymbol>
  <DigitGrouping>sample string 6</DigitGrouping>
  <DistanceUnit>1</DistanceUnit>
  <Email>sample string 2</Email>
  <FirstName>sample string 3</FirstName>
  <LastName>sample string 4</LastName>
  <LatestWebLogin>2024-11-21T09:58:12.1710837+00:00</LatestWebLogin>
  <Login>sample string 1</Login>
  <NewsletterSubscribed>true</NewsletterSubscribed>
  <Permissions>EditUnit</Permissions>
  <Permissions2>None</Permissions2>
  <ReleaseInfoSWSubscribed>true</ReleaseInfoSWSubscribed>
  <SpeedUnit>1</SpeedUnit>
  <SystemInfoSubscribed>true</SystemInfoSubscribed>
  <TemperatureUnit>1</TemperatureUnit>
  <TimeZone>
    <DisplayName>sample string 4</DisplayName>
    <Id>1</Id>
    <StandardName>sample string 3</StandardName>
    <TimeZoneInfoId>sample string 2</TimeZoneInfoId>
  </TimeZone>
  <TimeZones>
    <UserModel.TimeZoneModel>
      <DisplayName>sample string 4</DisplayName>
      <Id>1</Id>
      <StandardName>sample string 3</StandardName>
      <TimeZoneInfoId>sample string 2</TimeZoneInfoId>
    </UserModel.TimeZoneModel>
    <UserModel.TimeZoneModel>
      <DisplayName>sample string 4</DisplayName>
      <Id>1</Id>
      <StandardName>sample string 3</StandardName>
      <TimeZoneInfoId>sample string 2</TimeZoneInfoId>
    </UserModel.TimeZoneModel>
  </TimeZones>
  <UILanguage>
    <CultureName>sample string 3</CultureName>
    <Id>1</Id>
    <LanguageName>sample string 2</LanguageName>
  </UILanguage>
  <UserGroupId>1</UserGroupId>
</UserModel>