ABGroupAddMember(_:_:_:)
Adds a person to a group.
Declaration
func ABGroupAddMember(_ group: ABRecord!, _ person: ABRecord!, _ error: UnsafeMutablePointer<Unmanaged<CFError>?>!) -> Boolfunc ABGroupAddMember(_ group: ABGroupRef!, _ personToAdd: ABPersonRef!) -> BoolParameters
- group:
The group you wish to add
personto. - personToAdd:
The person to add to
group. IfpersonisNULL, this function raises an exception. - person:
The person to add to
group. IfpersonisNULL, this function raises an exception.
Return Value
true ifsuccessful, false otherwise. For example, if person isalready in group, this function doesnothing but returns false.
See Also
Groups
ABCopyArrayOfAllGroups(_:)ABGroupAddGroup(_:_:)ABGroupCopyArrayOfAllMembers(_:)ABGroupCopyArrayOfAllSubgroups(_:)ABGroupCopyDistributionIdentifier(_:_:_:)ABGroupCopyParentGroups(_:)ABGroupCreate()ABGroupCreateSearchElement(_:_:_:_:_:)ABGroupRemoveGroup(_:_:)ABGroupRemoveMember(_:_:_:)ABGroupSetDistributionIdentifier(_:_:_:_:)