---
schema_version: "1"
id: 0495d088fbd4bce824974735053657e5b8257283abe17ff59ead50edad9cc825
title: Group Membership Event Type
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_eventlogfile_groupmembership.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_eventlogfile_groupmembership.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: c7562f6da1023c2a6ef8d28d3cf31197016b365ae640aeb237c1233c21be08fc
description: Group Membership events capture details about changes to public group and queue membership, such as when members are added to or removed from the public group or queue.
---
# Group Membership Event Type

Group Membership events capture details about changes to public group and queue membership, such as when members are added to or removed from the public group or queue.

For details about event monitoring, see the [Trailhead Event Monitoring module](https://trailhead.salesforce.com/en/modules/event_monitoring/units/event_monitoring_intro "HTML (New Window)") or [REST API Developer’s Guide](https://developer.salesforce.com/docs/atlas.en-us.264.0.api_rest.meta/api_rest/using_resources_event_log_files.htm "HTML (New Window)").

## Fields

| Field | Details |
| --- | --- |
| CLIENT\_IP | 
Type

String

Description

The IP address of the client that’s using Salesforce services.

Example

96.43.144.26



 |
| CPU\_TIME | 

Type

Number

Description

The CPU time in milliseconds used to complete the request. This field indicates the amount of activity that took place in the app server layer.



 |
| EVENT\_TYPE | 

Type

String

Description

The type of event. The value is always GroupMembership.



 |
| GROUP\_ID | 

Type

Id

Description

ID of the group whose membership changed.

Example

00GXXXXXXXXXXXX



 |
| GROUP\_TYPE | 

Type

String

Description

The type of group. Valid values are:

- R—Public group
- Q—Queue

Example

R



 |
| LOGIN\_KEY | 

Type

String

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.

Example

GeJCsym5eyvtEK2I



 |
| MEMBER\_ID | 

Type

Id

Description

The ID of the member added to or removed from the group. Public groups can contain individual users, other groups, or users in a specified role or territory. Queues can contain individual users, roles, public groups, territories, connections, or partner users.

Example

005XXXXXXXXXXXX or 00GXXXXXXXXXXXX



 |
| OPERATION | 

Type

String

Description

The operation that occurred, such as a member being added to or removed from a group. Valid values are:

- AddedGroupMember
- DeletedGroupMember

Example

DeletedGroupMember



 |
| ORGANIZATION\_ID | 

Type

Id

Description

The 15-character ID of the organization.

Example

00DXXXXXXXXXXXX



 |
| REQUEST\_ID | 

Type

String

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 REQUEST\_ID.

Example

3nWgxWbDKWWDIk0FKfF5DV



 |
| RUN\_TIME | 

Type

Number

Description

The amount of time that the request took in milliseconds.

Example

115



 |
| SESSION\_KEY | 

Type

String

Description

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

Example

d7DEq/ANa7nNZZVD



 |
| TIMESTAMP | 

Type

String

Description

The access time of Salesforce services in GMT.

Example

20130715233322.670



 |
| TIMESTAMP\_DERIVED | 

Type

DateTime

Description

The access time of Salesforce services in ISO8601-compatible format (YYYY-MM-DDTHH:MM:SS.sssZ).

Example

2015-07-27T11:32:59.555Z



 |
| URI | 

Type

String

Description

The URI of the page that’s receiving the request.

Example

/home/home.jsp



 |
| URI\_ID\_DERIVED | 

Type

Id

Description

The 18-character case insensitive ID of the URI of the page that’s receiving the request.

Example

005XXXXXXXXXYAY



 |
| USER\_ID | 

Type

Id

Description

The 15-character ID of the user who’s using Salesforce services through the UI or the API.

Example

005XXXXXXXXXXXX



 |
| USER\_ID\_DERIVED | 

Type

Id

Description

The 18-character case insensitive ID of the user who’s using Salesforce services through the UI or the API.

Example

005XXXXXXXXXXXXIA0



 |

#### See Also

- [EventLogFile Supported Event Types](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_eventlogfile_supportedeventtypes.htm "The EventType field in the EventLogFile object supports these events. Some common fields, such as CPU_TIME and RUN_TIME, can have null or zero values depending on how the events are generated for a given feature. Sometimes, three quotation marks appear around event data containing special characters in the CSV file. The third quotation mark is necessary for tools and applications to parse the field data at the correct field value boundary.")
- [EventLogFile](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_eventlogfile.htm "Represents event log files generated by Event Monitoring. Use event log file data to analyze usage trends and user behavior in your Salesforce org. This object is available in API version 32.0 and later. The Interval and Sequence fields are available only in API version 37.0 and later.")