add_organization


Description:

public void add_organization (GDOrganization organization)

Adds an organization to the contact's list of organizations (e.

g. employers) and increments its reference count.

Note that only one organization per contact may be marked as "primary". Insertion and update operations (with insert_contact) will return an error if more than one organization is marked as primary.

Duplicate organizations will not be added to the list.

Parameters:

this

a ContactsContact

organization

a GDOrganization to add