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 NameField LabelTypeDigitsLengthPrecisionScale
ApiTypeAPI Typestring 64  
ApiVersionAPI Versionstring 32  
ApplicationApplicationstring 64  
AuthContextClassRefAuthentication Context Class Referencestring 500  
AuthMethodReferenceAuthentication Method Referencestring 128  
AuthenticationServiceIdAuthentication Service IDreference 18  
BrowserBrowserstring 64  
CipherSuiteTLS Cipher Suitepicklist 40  
ClientVersionClient Versionstring 64  
CountryIsoCountry Codestring 3  
ForwardedForIpForwarded For IPstring 255  
IdLogin History Idid 18  
LoginGeoIdLogin Geo Data IDreference 18  
LoginSubTypeLogin Subtypepicklist 40  
LoginTimeLogin Timedatetime    
LoginTypeLogin Typepicklist 40  
LoginUrlLogin URLstring 255  
NetworkIdNetwork IDreference 18  
OptionsIsGetLogin via GETboolean    
OptionsIsPostLogin via POSTboolean    
PlatformPlatformstring 64  
SourceIpSource IPstring 39  
StatusStatusstring 128  
TlsProtocolTLS Protocolpicklist 40  
UserIdUser IDreference 18