---
title: "addMember(_:)"
framework: addressbook
role: symbol
role_heading: Instance Method
path: "addressbook/abgroup/addmember(_:)"
---

# addMember(_:)

Adds a person to a group.

## Declaration

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

## Parameters

- `person`: The person record to be added.

## Return Value

Return Value true if successful; otherwise, false.

## Discussion

Discussion If the person argument is already part of the group, this method does nothing and returns 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 false.

## See Also

### Managing persons

- [removeMember(_:)](addressbook/abgroup/removemember(_:).md)
- [members()](addressbook/abgroup/members().md)
