---
schema_version: "1"
id: aee905113a5d18ce9e7e3c83879c0ddd64961de307740f933019ac6d546bb3c3
title: LoginAsEventLog
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_loginaseventlog.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_loginaseventlog.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 2abe45cd004a94787c32b787c24047e5610ef2814cdc679123d64d7a0c8667f8
description: 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.
---
# 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.

![Note](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/images/icon_note.png)

#### Note

This object stores event data that's queryable from platform APIs. For event data stored in event log files, see [EventLogFile](https://developer.salesforce.com/docs/atlas.en-us.264.0.object_reference.meta/object_reference/sforce_api_objects_eventlogfile.htm).

## 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.



 |