contacts.getContactStatus
Description
Get the status name of a contact.

Parameters
contactID number

Return value
statusName string ("" if contact not found)

Example
print("Status name: " .. contacts.getContactStatus(1000))

Comments
The returned statusName will match a StatusDescription from the ContactStatus database table with the corresponding ContactStatusId.
If the contactID does not exist an empty string is returned.

See also
contacts.getContactStatusID
contacts.setContactStatusID
contacts.setContactStatus

Back