---
schema_version: "1"
id: d03d1cf8413b6e719259421e41bf5a8dcaf2f20f8823b5498ffdf176f9d2bc2e
title: UserDevice
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_userdevice.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_userdevice.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: ea855000b7d9597daa681386e71580b4efa510eacf3182dc54cec9dfb521a951
description: Represents information unique to a device. Available in API version 43.0 and later.
---
# UserDevice

Represents information unique to a device. Available in API version 43.0 and later.

## Supported Calls

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

## Special Access Rules

You must have View Devices enabled to see devices.

## Fields

| Field Name | Details |
| --- | --- |
| BrowserType | 
Type

string

Properties

Filter, Group, Nillable, Sort

Description

The browser used for login.



 |
| DeviceNativeUid | 

Type

string

Properties

Filter, Group, idLookup, Nillable, Sort

Description

A unique string used to identify a mobile device.



 |
| DeviceType | 

Type

picklist

Properties

Filter, Group, Nillable, Restricted picklist, Sort

Description

The device used to log in to Salesforce. The picklist options are:

- Desktop
- Tablet
- iPad
- iPhone
- Phone
- Unknown





 |
| IsVerified | 

Type

boolean

Properties

Defaulted on create, Filter, Group, Sort

Description

Reserved for future use.



 |
| LastLoginHistoryId | 

Type

reference

Properties

Filter, Group, Nillable, Sort

Description

The most recent LoginHistory associated with the device.



 |
| Name | 

Type

string

Properties

Filter, Group, idLookup, Sort

Description

This field is system-generated and can’t be changed.



 |
| PlatformType | 

Type

picklist

Properties

Filter, Group, Nillable, Restricted picklist, Sort

Description

The operating system of the device. The picklist options are:

- iOS
- Android
- OSX
- Linux
- Phone
- Windows
- AppleApp
- Blackberry
- Other





 |
| PlatformVersion | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

The version of the operating system running on the device.



 |
| Status | 

Type

picklist

Properties

Filter, Group, Nillable, Restricted picklist, Sort

Description

The activity status of the device. The picklist options are:

- Approved
- Pending Approval
- Revoked





 |
| UserId | 

Type

reference

Properties

Filter, Group, Sort

Description

The ID of the user.



 |
| UserLastSeen | 

Type

dateTime

Properties

Filter, Nillable, Sort

Description

The date and time of the user’s last access.



 |
| UserProvidedDeviceIdentifier | 

Type

string

Properties

Filter, Group, Nillable, Sort, Update

Description

An identifier for the user’s device such as the International Mobile Equipment Identity (IMEI) number or the device serial number.

![Note](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/images/icon_note.png)

#### Note

This field isn’t automatically populated. The developer must provide values.















 |