Newer Version Available

This content describes an older version of this product. View Latest

LoginAsEventLog

LoginAsEventLog contains details about when a user logs in as another user in your org. This object is available in API version 61.0 and later.

This object stores event data that's queryable from platform APIs. For event data stored in event log files, see EventLogFile.

Note

Supported Calls

describeSObjects(), query()

Special Access Rules

To access this object, you must have the View Event Log Object Data user permission.

Fields

Field Details
ClientIp
Type
string
Properties
Filter, Group, Nillable, Sort
Description
The IP address of the client that’s using Salesforce services. A Salesforce internal IP (such as a login from AppExchange) is shown as “Salesforce.com IP”. For example: 96.43.144.26.
CpuTime
Type
double
Properties
Filter, Nillable, Sort
Description
The CPU time in milliseconds used to complete the request. This field indicates the amount of activity taking place in the app server layer.
DelegatedUserIdentifier
Type
string
Properties
Filter, Group, Nillable, Sort
Description
Unique ID that identifies the user who’s logging in as, or impersonating, another user. For example: 00530000009M943.
DelegatedUserName
Type
string
Properties
Filter, Group, Nillable, Sort
Description
The username of the user who’s logging in as, or impersonating, another user.
LoginKey
Type
string
Properties
Filter, Group, Nillable, Sort
Description
The string that ties together all events in a given user’s login session. It starts with a login event and ends with either a logout event or the user session expiring. For example: GeJCsym5eyvtEK2I.
RequestIdentifier
Type
string
Properties
Filter, Group, Nillable, Sort
Description
The unique ID of a single transaction. A transaction can contain one or more events. Each event in a given transaction has the same RequestIdentifier. For example: 3nWgxWbDKWWDIk0FKfF5DV.
RunTime
Type
double
Properties
Filter, Nillable, Sort
Description
The amount of time that the request took in milliseconds.
SessionKey
Type
string
Properties
Filter, Group, Nillable, Sort
Description
The impersonated user’s unique session ID. You can use this value to identify all user events within a session. When a user logs out and logs in again, a new session is started. For Login Event Type, this field is usually null because the event is captured before a session is created. For example: d7DEq/ANa7nNZZVD.
Timestamp
Type
dateTime
Properties
Filter, Nillable, Sort
Description
The access time of Salesforce services in GMT. For example, 2020-01-20T19:12:26.965Z. Milliseconds are the most granular setting.
Uri
Type
string
Properties
Filter, Group, Nillable, Sort
Description
The URI of the page that’s receiving the request. For example: /home/home.jsp.
UserIdentifier
Type
string
Properties
Filter, Group, Nillable, Sort
Description
Unique ID that identifies the user who is being logged in as, or impersonated, by another user. For example: 005000000000123.