Contents

ABGroupAddMember(_:_:_:)

Adds a person to a group.

Declaration

func ABGroupAddMember(_ group: ABRecord!, _ person: ABRecord!, _ error: UnsafeMutablePointer<Unmanaged<CFError>?>!) -> Bool
func ABGroupAddMember(_ group: ABGroupRef!, _ personToAdd: ABPersonRef!) -> Bool

Parameters

  • group:

    The group you wish to add person to.

  • personToAdd:

    The person to add to group. If person is NULL, this function raises an exception.

  • person:

    The person to add to group. If person is NULL, 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