GET Accounts/FromAuthToken

Gets back a user based on their current Auth Token.

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

SystemUserModel

SystemUserModel
NameDescriptionTypeAdditional information
PublicKey

globally unique identifier

Required

LastLoginDate

date

None.

LastLoginCustomerID

integer

None.

EffectivePermissions

Collection of OutputAssignedPermissionModel

None.

CustomerID

integer

None.

LockoutEnabled

boolean

None.

LockoutEndDate

date

None.

ContactInfo

UserContactBindingModel

None.

UserID

integer

None.

UserName

string

Required

String length: inclusive between 4 and 128

FirstName

string

Required

String length: inclusive between 1 and 256

LastName

string

Required

String length: inclusive between 1 and 256

Office

string

None.

Culture

string

String length: inclusive between 0 and 5

CultureID

integer

None.

DisplayCultureID

integer

None.

DefaultTimeZone

TimeZoneModel

None.

DateFormat

string

None.

Activation

date

Data type: DateTime

Expiration

date

Data type: DateTime

JobTitle

string

String length: inclusive between 0 and 256

IsDisabled

boolean

None.

Response Formats

application/json, text/json, text/html

Sample:
{
  "PublicKey": "01f18343-c057-4aa5-ab68-efdfe5ac56ff",
  "LastLoginDate": "2019-12-13T17:22:12.7023485-05:00",
  "LastLoginCustomerID": 1,
  "EffectivePermissions": [
    {
      "DisplayName": "sample string 1",
      "Name": "sample string 2",
      "Tag": "sample string 3"
    }
  ],
  "CustomerID": 1,
  "LockoutEnabled": true,
  "LockoutEndDate": "2019-12-13T17:22:12.7023485-05:00",
  "ContactInfo": {
    "UserContactInformationID": 1,
    "Email": "sample string 2",
    "OfficeNumber": "sample string 3",
    "HomeNumber": "sample string 4",
    "MobileNumber": "sample string 5",
    "HomeAddress": {
      "Street1": "sample string 1",
      "Street2": "sample string 2",
      "City": "sample string 3",
      "StateProvinceRegion": "sample string 4",
      "PostalCode": "sample string 5",
      "Country": "sample string 6"
    },
    "BusinessAddress": {
      "Street1": "sample string 1",
      "Street2": "sample string 2",
      "City": "sample string 3",
      "StateProvinceRegion": "sample string 4",
      "PostalCode": "sample string 5",
      "Country": "sample string 6"
    }
  },
  "UserID": 2,
  "UserName": "sample string 3",
  "FirstName": "sample string 4",
  "LastName": "sample string 5",
  "Office": "sample string 6",
  "Culture": "sample string 7",
  "CultureID": 8,
  "DisplayCultureID": 9,
  "DefaultTimeZone": {
    "Id": "sample string 1",
    "BaseUtcOffset": "00:00:00.1234567",
    "DisplayName": "sample string 3",
    "TranslationKey_Name": "TEF_TimeZone_samplestring3"
  },
  "DateFormat": "sample string 10",
  "Activation": "2019-12-13T17:22:12.7023485-05:00",
  "Expiration": "2019-12-13T17:22:12.7023485-05:00",
  "JobTitle": "sample string 11",
  "IsDisabled": true
}

application/xml, text/xml

Sample:
<SystemUserModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Toluna.TEF.Common.ViewModels.Membership">
  <Activation xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:DateTime>2019-12-13T22:22:12.7023485Z</d2p1:DateTime>
    <d2p1:OffsetMinutes>-300</d2p1:OffsetMinutes>
  </Activation>
  <Culture>sample string 7</Culture>
  <CultureID>8</CultureID>
  <DateFormat>sample string 10</DateFormat>
  <DefaultTimeZone xmlns:d2p1="http://schemas.datacontract.org/2004/07/Toluna.TEF.Common.ViewModels.Common">
    <d2p1:BaseUtcOffset>PT0.1234567S</d2p1:BaseUtcOffset>
    <d2p1:DisplayName>sample string 3</d2p1:DisplayName>
    <d2p1:Id>sample string 1</d2p1:Id>
  </DefaultTimeZone>
  <DisplayCultureID>9</DisplayCultureID>
  <Expiration xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:DateTime>2019-12-13T22:22:12.7023485Z</d2p1:DateTime>
    <d2p1:OffsetMinutes>-300</d2p1:OffsetMinutes>
  </Expiration>
  <FirstName>sample string 4</FirstName>
  <IsDisabled>true</IsDisabled>
  <JobTitle>sample string 11</JobTitle>
  <LastName>sample string 5</LastName>
  <Office>sample string 6</Office>
  <UserName>sample string 3</UserName>
  <ContactInfo>
    <BusinessAddress xmlns:d3p1="http://schemas.datacontract.org/2004/07/Toluna.TEF.Common.ViewModels.Common">
      <d3p1:City>sample string 3</d3p1:City>
      <d3p1:Country>sample string 6</d3p1:Country>
      <d3p1:PostalCode>sample string 5</d3p1:PostalCode>
      <d3p1:StateProvinceRegion>sample string 4</d3p1:StateProvinceRegion>
      <d3p1:Street1>sample string 1</d3p1:Street1>
      <d3p1:Street2>sample string 2</d3p1:Street2>
    </BusinessAddress>
    <Email>sample string 2</Email>
    <HomeAddress xmlns:d3p1="http://schemas.datacontract.org/2004/07/Toluna.TEF.Common.ViewModels.Common">
      <d3p1:City>sample string 3</d3p1:City>
      <d3p1:Country>sample string 6</d3p1:Country>
      <d3p1:PostalCode>sample string 5</d3p1:PostalCode>
      <d3p1:StateProvinceRegion>sample string 4</d3p1:StateProvinceRegion>
      <d3p1:Street1>sample string 1</d3p1:Street1>
      <d3p1:Street2>sample string 2</d3p1:Street2>
    </HomeAddress>
    <HomeNumber>sample string 4</HomeNumber>
    <MobileNumber>sample string 5</MobileNumber>
    <OfficeNumber>sample string 3</OfficeNumber>
    <UserContactInformationID>1</UserContactInformationID>
  </ContactInfo>
  <LockoutEnabled>true</LockoutEnabled>
  <LockoutEndDate xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:DateTime>2019-12-13T22:22:12.7023485Z</d2p1:DateTime>
    <d2p1:OffsetMinutes>-300</d2p1:OffsetMinutes>
  </LockoutEndDate>
  <UserID>2</UserID>
  <CustomerID>1</CustomerID>
  <EffectivePermissions>
    <OutputAssignedPermissionModel>
      <Name>sample string 2</Name>
      <Tag>sample string 3</Tag>
      <DisplayName>sample string 1</DisplayName>
    </OutputAssignedPermissionModel>
  </EffectivePermissions>
  <LastLoginCustomerID>1</LastLoginCustomerID>
  <LastLoginDate xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:DateTime>2019-12-13T22:22:12.7023485Z</d2p1:DateTime>
    <d2p1:OffsetMinutes>-300</d2p1:OffsetMinutes>
  </LastLoginDate>
  <PublicKey>01f18343-c057-4aa5-ab68-efdfe5ac56ff</PublicKey>
</SystemUserModel>

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.