# SiteGroupMembersUpdatedError

Output type describing a failure when updating SharePoint site group members.

> Kind: Apex type · Updated: 2026-07-03

Custom Apex type representing an error output returned by the Client.getEventDetails() method's ErrorEvent handling. It identifies the site, groups, and members for a site-group membership update that failed.

## Fields

### Output fields
| Parameter | Type | Required | Description |
|---|---|---|---|
| SiteId | String | optional | Id of the SharePoint site. |
| GroupNames | List&lt;String&gt; | optional | Names of the site groups whose membership update failed. |
| Emails | List&lt;String&gt; | optional | Emails of the members being added or removed. |
| Remove | Boolean | optional | Whether the members were being removed (true) or added (false). |
| Context | String | optional | Context attribute describing the source of the update. |
