<!--
{
  "availability" : [
    "iOS: 18.0.0 -",
    "iPadOS: 18.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "ContactProvider",
  "identifier" : "/documentation/ContactProvider/ContactItem/Identifier",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "ContactProvider"
    ],
    "preciseIdentifier" : "s:15ContactProvider0A4ItemO10IdentifierV"
  },
  "title" : "ContactItem.Identifier"
}
-->

# ContactItem.Identifier

The app’s identifier for an item in the contact database.

```
struct Identifier
```

## Topics

### Creating a contact item identifier

[`init(String)`](/documentation/ContactProvider/ContactItem/Identifier/init(_:))

Creates an identifier with the given value.

### Inspecting identifier properties

[`let value: String`](/documentation/ContactProvider/ContactItem/Identifier/value)

The value of the identifier.

### Accessing the root container

[`static let rootContainer: ContactItem.Identifier`](/documentation/ContactProvider/ContactItem/Identifier/rootContainer)

The top-level container, containing the user’s contacts.

## Relationships

### Conforms To

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

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

---

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)