<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: -",
    "macOS: 27.0.0 -",
    "tvOS: 27.0.0 -",
    "visionOS: 27.0.0 -",
    "watchOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppIntents",
  "identifier" : "/documentation/AppIntents/SyncableEntityIdentifier/entityIdentifierString",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "App Intents",
      "AppIntents"
    ],
    "preciseIdentifier" : "s:10AppIntents24SyncableEntityIdentifierV06entityE6StringSSvp"
  },
  "title" : "entityIdentifierString"
}
-->

# entityIdentifierString

Returns the string representation of this identifier’s local ID.

```
var entityIdentifierString: String { get }
```

## Return Value

The local ID’s string representation

## Discussion

This method requires a local ID to be present. Stable-only identifiers
(created via the `@_spi(_)` initializer) should not have this method called.

> Precondition: The identifier must have a local ID

---

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)