LoginHistory
Represents the login history for all successful and failed login attempts for organizations and enabled portals. This object is available in API version 21.0 and later.
This guide only lists certain information for each object. For more information, including descriptions of the fields, see LoginHistory in the Object Reference for the Salesforce Platform.
| Field Name | Field Label | Type | Digits | Length | Precision | Scale |
|---|---|---|---|---|---|---|
ApiType | API Type | string | 64 | |||
ApiVersion | API Version | string | 32 | |||
Application | Application | string | 64 | |||
AuthContextClassRef | Authentication Context Class Reference | string | 500 | |||
AuthMethodReference | Authentication Method Reference | string | 128 | |||
AuthenticationServiceId | Authentication Service ID | reference | 18 | |||
Browser | Browser | string | 64 | |||
CipherSuite | TLS Cipher Suite | picklist | 40 | |||
ClientVersion | Client Version | string | 64 | |||
CountryIso | Country Code | string | 3 | |||
ForwardedForIp | Forwarded For IP | string | 255 | |||
Id | Login History Id | id | 18 | |||
LoginGeoId | Login Geo Data ID | reference | 18 | |||
LoginSubType | Login Subtype | picklist | 40 | |||
LoginTime | Login Time | datetime | ||||
LoginType | Login Type | picklist | 40 | |||
LoginUrl | Login URL | string | 255 | |||
NetworkId | Network ID | reference | 18 | |||
OptionsIsGet | Login via GET | boolean | ||||
OptionsIsPost | Login via POST | boolean | ||||
Platform | Platform | string | 64 | |||
SourceIp | Source IP | string | 39 | |||
Status | Status | string | 128 | |||
TlsProtocol | TLS Protocol | picklist | 40 | |||
UserId | User ID | reference | 18 |