<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AddressBook",
  "identifier" : "/documentation/AddressBook/ABGroup/setDistributionIdentifier(_:forProperty:person:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Address Book"
    ],
    "preciseIdentifier" : "c:objc(cs)ABGroup(im)setDistributionIdentifier:forProperty:person:"
  },
  "title" : "setDistributionIdentifier(_:forProperty:person:)"
}
-->

# setDistributionIdentifier(_:forProperty:person:)

Assigns a specific distribution identifier for a person’s multivalue list property so that the group can be used as a distribution list.

```
func setDistributionIdentifier(_ identifier: String!, forProperty property: String!, person: ABPerson!) -> Bool
```

## Parameters

`identifier`

The identifier to be set as the distribution identifier

`property`

The property whose distribution identifier will be set.

`person`

The person whose distribution identifier will be.

## Return Value

<doc://com.apple.documentation/documentation/Swift/true> if successful; otherwise, <doc://com.apple.documentation/documentation/Swift/false>.

## Discussion

The default distribution identifier is a multivalue list’s primary identifier. If `person` is `nil`, this method raises an exception.

Distribution identifiers let you use groups as distribution lists, by indicating which value in a multivalue property should be used when addressing the group. See [Address Book Programming Guide for Mac](https://developer.apple.com/library/archive/documentation/UserExperience/Conceptual/AddressBook/AddressBook.html#//apple_ref/doc/uid/10000117i) for more detailed discussion.

---

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)