---
title: "ABPersonCopyParentGroups(_:)"
framework: addressbook
role: symbol
role_heading: Function
path: "addressbook/abpersoncopyparentgroups(_:)"
---

# ABPersonCopyParentGroups(_:)

Returns an array of groups that a person belongs to.

## Declaration

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

## Parameters

- `person`: The person whose parent groups you wish to obtain.

## Return Value

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

## See Also

### People

- [ABCopyArrayOfAllPeople(_:)](addressbook/abcopyarrayofallpeople(_:).md)
- [ABGetMe(_:)](addressbook/abgetme(_:).md)
- [ABPersonCopyImageData(_:)](addressbook/abpersoncopyimagedata(_:).md)
- [ABPersonCopyVCardRepresentation(_:)](addressbook/abpersoncopyvcardrepresentation(_:).md)
- [ABPersonCreate()](addressbook/abpersoncreate().md)
- [ABPersonCreateSearchElement(_:_:_:_:_:)](addressbook/abpersoncreatesearchelement(_:_:_:_:_:).md)
- [ABPersonCreateWithVCardRepresentation(_:)](addressbook/abpersoncreatewithvcardrepresentation(_:).md)
- [ABPersonSetImageData(_:_:_:)](addressbook/abpersonsetimagedata(_:_:).md)
- [ABSetMe(_:_:)](addressbook/absetme(_:_:).md)
