Function

ABGroupCopyArrayOfAllMembers(_:)

Returns an array of persons in a group.

Declaration

iOS
func ABGroupCopyArrayOfAllMembers(_ group: ABRecord!) -> Unmanaged<CFArray>!
macOS, Mac Catalyst
func ABGroupCopyArrayOfAllMembers(_ group: ABGroupRef!) -> Unmanaged<CFArray>!

Parameters

group

The ABGroup object whose members you wish to obtain.

Return Value

An array of ABPerson objects representing the people in group. If this group doesn’t contain any people, this function returns an empty array. You are responsible for releasing this object.

See Also

Groups

func ABCopyArrayOfAllGroups(ABAddressBookRef!) -> Unmanaged<CFArray>!

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

func ABGroupCopyArrayOfAllSubgroups(ABGroupRef!) -> Unmanaged<CFArray>!

Returns an array containing a group’s subgroups.

func ABGroupCopyDistributionIdentifier(ABGroupRef!, ABPersonRef!, CFString!) -> Unmanaged<CFString>!

Returns the distribution identifier for the given property and person.

func ABGroupCopyParentGroups(ABGroupRef!) -> Unmanaged<CFArray>!

Returns an array containing a group’s parents—the groups that a group belongs to.

func ABGroupSetDistributionIdentifier(ABGroupRef!, ABPersonRef!, CFString!, CFString!) -> Bool

Assigning a specific distribution identifier for a person’s multi-value list property so that the group can be used as a distribution list (mailing list, in the case of an email property).