Login History
Provides access to data fields for login audits within the system.
The entity name is: LoginHistory.
| API Name | Label | Required | Data Type | Description |
|---|
| CreatedById | Created By | No | Lookup(User) | The user record that created this login history entry. |
| CreatedOn | Created On | No | DateTime | When this login record was first created. |
| ExternalSessionId | External Session Id | No | Text(100) | Provider-issued identifier for the session (e.g. SSO token used for SAML SSO). |
| Id | Id | No | ID | System-generated unique identifier for the login history record. |
| IsDeleted | Deleted | No | Checkbox | Soft-delete flag (checked if the record is in the recycle bin). |
| LoginTime | Login Time | No | DateTime | Timestamp when the user successfully authenticated. |
| LoginType | Login Type | No | Picklist | Method of login (e.g. Application, REST API). |
| LogoffTime | Logoff Time | No | DateTime | Timestamp when the session was terminated or logged off. |
| ModifiedById | Modified By | No | Lookup(User) | The last user to modify this login history record. |
| ModifiedOn | Modified On | No | DateTime | When this record was most recently updated. |
| Name | Entry No | No | Auto Number | Auto-generated sequence number for each login event. |
| OwnerId | Owner | No | Lookup(User) | The user who owns the login record (typically the user who logged in). |
| Platform | Platform | No | Text(100) | The client platform used (e.g. Web, iOS App, Android App). |
| SessionId | Session Id | No | Text(350) | Underlying session identifier for the authentication session. |
| SourceIP | Source IP | No | Text(18) | IP address from which the login originated. |
| Status | Status | No | Picklist | Outcome of the login attempt (e.g. Success, Failure). |
| Token | Token | No | Text(500) | The authentication token issued for this session (where applicable). |