---
title: "ABCopyArrayOfAllPeople(_:)"
framework: addressbook
role: symbol
role_heading: Function
path: "addressbook/abcopyarrayofallpeople(_:)"
---

# ABCopyArrayOfAllPeople(_:)

Returns an array of all the people in the Address Book database.

## Declaration

```swift
func ABCopyArrayOfAllPeople(_ addressBook: ABAddressBookRef!) -> Unmanaged<CFArray>!
```

## Parameters

- `addressBook`: The address book for the logged-in user.

## Return Value

Return Value An array of ABPerson objects representing all the people in the Address Book database. If the database does not contain any people, the function returns an empty array. You are responsible for releasing this object.

## See Also

### People

- [ABGetMe(_:)](addressbook/abgetme(_:).md)
- [ABPersonCopyImageData(_:)](addressbook/abpersoncopyimagedata(_:).md)
- [ABPersonCopyParentGroups(_:)](addressbook/abpersoncopyparentgroups(_:).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)
