<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AddressBook",
  "identifier" : "/documentation/AddressBook/ABPersonCopyParentGroups(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "Address Book"
    ],
    "preciseIdentifier" : "c:@F@ABPersonCopyParentGroups"
  },
  "title" : "ABPersonCopyParentGroups(_:)"
}
-->

# ABPersonCopyParentGroups(_:)

Returns an array of groups that a person belongs to.

```
func ABPersonCopyParentGroups(_ person: ABPersonRef!) -> Unmanaged<CFArray>!
```

## Parameters

`person`

The person whose parent groups you wish to obtain.

## Return Value

An array of ABGroup objects which `person` belongs to. You are responsible for releasing this object.

## 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)