---
title: "ABGroupCopyArrayOfAllMembers(_:)"
framework: addressbook
role: symbol
role_heading: Function
path: "addressbook/abgroupcopyarrayofallmembers(_:)"
---

# ABGroupCopyArrayOfAllMembers(_:)

Returns an array of persons in a group.

## Declaration

```swift
func ABGroupCopyArrayOfAllMembers(_ group: ABRecord!) -> Unmanaged<CFArray>!
```

```swift
func ABGroupCopyArrayOfAllMembers(_ group: ABGroupRef!) -> Unmanaged<CFArray>!
```

## Parameters

- `group`: The ABGroup object whose members you wish to obtain.

## Return Value

Return Value An array of ABPersonobjects representing the people in group.If this group doesn’t contain any people, this function returnsan empty array. You are responsible for releasing this object.

## See Also

### Groups

- [ABCopyArrayOfAllGroups(_:)](addressbook/abcopyarrayofallgroups(_:).md)
- [ABGroupAddGroup(_:_:)](addressbook/abgroupaddgroup(_:_:).md)
- [ABGroupAddMember(_:_:_:)](addressbook/abgroupaddmember(_:_:).md)
- [ABGroupCopyArrayOfAllSubgroups(_:)](addressbook/abgroupcopyarrayofallsubgroups(_:).md)
- [ABGroupCopyDistributionIdentifier(_:_:_:)](addressbook/abgroupcopydistributionidentifier(_:_:_:).md)
- [ABGroupCopyParentGroups(_:)](addressbook/abgroupcopyparentgroups(_:).md)
- [ABGroupCreate()](addressbook/abgroupcreate().md)
- [ABGroupCreateSearchElement(_:_:_:_:_:)](addressbook/abgroupcreatesearchelement(_:_:_:_:_:).md)
- [ABGroupRemoveGroup(_:_:)](addressbook/abgroupremovegroup(_:_:).md)
- [ABGroupRemoveMember(_:_:_:)](addressbook/abgroupremovemember(_:_:).md)
- [ABGroupSetDistributionIdentifier(_:_:_:_:)](addressbook/abgroupsetdistributionidentifier(_:_:_:_:).md)
