<!--
{
  "availability" : [
    "iOS: 16.0.0 -",
    "iPadOS: 16.0.0 -",
    "macCatalyst: 16.0.0 -",
    "macOS: 13.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SharedWithYou",
  "identifier" : "/documentation/SharedWithYouCore/SWUpdateCollaborationParticipantsAction",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "Shared with You Core"
    ],
    "preciseIdentifier" : "c:objc(cs)SWUpdateCollaborationParticipantsAction"
  },
  "title" : "SWUpdateCollaborationParticipantsAction"
}
-->

# SWUpdateCollaborationParticipantsAction

An action that contains the cryptographic identities the system uses to add to or remove from an existing collaboration.

```
class SWUpdateCollaborationParticipantsAction
```

## Overview

Look up the target collaboration using the provided [`SWCollaborationMetadata`](/documentation/SharedWithYouCore/SWCollaborationMetadata). Associate the added participants with the resource on your app’s servers, and remove any identities included in the [`removedIdentities`](/documentation/SharedWithYouCore/SWUpdateCollaborationParticipantsAction/removedIdentities) property.

## Topics

### Accessing action attributes

[`collaborationMetadata`](/documentation/SharedWithYouCore/SWUpdateCollaborationParticipantsAction/collaborationMetadata)

An object for conveying data during a collaboration.

[`addedIdentities`](/documentation/SharedWithYouCore/SWUpdateCollaborationParticipantsAction/addedIdentities)

An array of added identities in a collaboration.

[`removedIdentities`](/documentation/SharedWithYouCore/SWUpdateCollaborationParticipantsAction/removedIdentities)

An array of removed identities in a collaboration.

## Relationships

### Conforms To

[`CustomDebugStringConvertible`](/documentation/Swift/CustomDebugStringConvertible)

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

[`NSCopying`](/documentation/Foundation/NSCopying)

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

[`NSSecureCoding`](/documentation/Foundation/NSSecureCoding)

[`Hashable`](/documentation/Swift/Hashable)

[`CVarArg`](/documentation/Swift/CVarArg)

[`Equatable`](/documentation/Swift/Equatable)

[`NSCoding`](/documentation/Foundation/NSCoding)

### Inherits From

[`SWAction`](/documentation/SharedWithYouCore/SWAction)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)