<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AddressBook",
  "identifier" : "/documentation/AddressBook/ABGroup/addMember(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Address Book"
    ],
    "preciseIdentifier" : "c:objc(cs)ABGroup(im)addMember:"
  },
  "title" : "addMember(_:)"
}
-->

# addMember(_:)

Adds a person to a group.

```
func addMember(_ person: ABPerson!) -> Bool
```

## Parameters

`person`

The person record to be added.

## Return Value

<doc://com.apple.documentation/documentation/Swift/true> if successful; otherwise, <doc://com.apple.documentation/documentation/Swift/false>.

## Discussion

If the `person` argument is already part of the group, this method does nothing and returns <doc://com.apple.documentation/documentation/Swift/true>. If the `person` argument is `nil`, this method raises an exception.

### Special Considerations

Prior to OS X v10.6, if the person record is already in the group, this method does nothing and returns <doc://com.apple.documentation/documentation/Swift/false>.

---

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)