<!--
{
  "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/SWCollaborationMetadata/localIdentifier",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Shared with You Core"
    ],
    "preciseIdentifier" : "c:objc(cs)SWCollaborationMetadata(py)localIdentifier"
  },
  "title" : "localIdentifier"
}
-->

# localIdentifier

A locally unique identifier for the item the metadata represents.

```
var localIdentifier: SWLocalCollaborationIdentifier { get }
```

## Discussion

Use this identifier to uniquely identify this metadata before the system creates a [`collaborationIdentifier`](/documentation/SharedWithYouCore/SWCollaborationMetadata/collaborationIdentifier).

---

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)