---
schema_version: "1"
id: a37b3c4bc4ceaeac4c1bc93135f586a3842f0a36bcbff45b55492df68a324b6d
title: UserDeviceHistory
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_userdevicehistory.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_userdevicehistory.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 92b32767d1d079b9121845c7c1a1838077035915dc5a896d66db6e130358a4c4
description: Represents tracking information on the UserDevice sObject. This object is available in API version 50.0 and later.
---
# UserDeviceHistory

Represents tracking information on the UserDevice sObject. This object is available in API version 50.0 and later.

## Supported Calls

describeSObjects(), getDeleted(), getUpdated(), query(), retrieve()

You can also enable delete() in API version 42.0 and later. See [Enable delete of Field History and Field History Archive](https://help.salesforce.com/articleView?id=000321814&type=1&mode=1&language=en_US "HTML (New Window)").

## Fields

| Field | Details |
| --- | --- |
| DataType | 
Type

picklist

Properties

Filter, Group, Nillable, Restricted picklist, Sort

Description

The type of data that has changed.

Possible values are:

- Address
- AnyType
- AutoNumber
- Base64
- BitVector
- Boolean
- Content
- Currency
- DataCategoryGroupReference
- DateOnly
- DateTime
- Division
- Double
- DynamicEnum
- Email
- EncryptedBase64
- EncryptedText
- EntityId
- EnumOrId
- ExternalId
- Fax
- File
- HtmlMultiLineText
- HtmlStringPlusClob
- InetAddress
- Json
- Location
- MultiEnum
- MultiLineText
- Namespace
- Percent
- PersonName
- Phone
- Raw
- RecordType
- SfdcEncryptedText
- SimpleNamespace
- StringPlusClob
- Switchable\_PersonName
- Text
- TimeOnly
- Url
- YearQuarter





 |
| Field | 

Type

picklist

Properties

Filter, Group, Restricted picklist, Sort

Description

The field that has changed.

Possible values are:

- BrowserType—Browser
- DeviceNativeUid—Device Native ID
- DeviceType—Device Type
- HashedBrowserFingerPrint—Hashed Browser Fingerprint
- IsVerified—Is Device Verified
- LastLoginHistory—Login History
- Name
- PlatformType—Platform or OS Type
- PlatformVersion—Platform or OS Version
- RawBrowserFingerPrint—Raw Browser Fingerprint Data
- Status—Device Status
- User
- UserLastSeen—Last time user was seen
- UserProvidedDeviceIdentifier—User provided device identifier
- created—Created.
- feedEvent—Feed event
- individualMerged—Individual Merged
- locked—Record locked.
- ownerAccepted—Owner (Accepted)
- ownerAssignment—Owner (Assignment)
- unlocked—Record unlocked.





 |
| NewValue | 

Type

anyType

Properties

Nillable, Sort

Description

The value after a change has occurred.



 |
| OldValue | 

Type

anyType

Properties

Nillable, Sort

Description

The value before a change has occurred.



 |
| UserDeviceId | 

Type

reference

Properties

Filter, Group, Sort

Description

The ID of the UserDevice object.



 |