<!--
{
  "availability" : [
    "macOS: 10.3.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AddressBook",
  "identifier" : "/documentation/AddressBook/ABPeoplePickerView/selectedIdentifiers(for:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Address Book"
    ],
    "preciseIdentifier" : "c:objc(cs)ABPeoplePickerView(im)selectedIdentifiersForPerson:"
  },
  "title" : "selectedIdentifiers(for:)"
}
-->

# selectedIdentifiers(for:)

Returns the identifiers of the selected values in a multivalue property.

```
func selectedIdentifiers(for person: ABPerson!) -> [Any]!
```

## Parameters

`person`

The person whose identifiers for selected values will be returned.

## Discussion

Returns `nil` if the property displayed is a single-value property, or if the selected value is not a property of `person`.

The [`selectedRecords`](/documentation/AddressBook/ABPeoplePickerView/selectedRecords) property returns all of the person records that were unified to display the selected records, which can require some extra care in passing the correct person record.

---

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)