Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.

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.

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

Note