contacts.getContactStatusID
Description
Get the status ID of a contact.

Parameters
contactID number

Return value
statusID number (0 if contact not found)

Example
print("Status ID: " .. contacts.getContactStatusID(1000))

Comments
The returned statusID will match a ContactStatusId from the ContactStatus database table.
If the contactID does not exist this function returns 0.

See also
contacts.setContactStatusID
contacts.setContactStatus
contacts.getContactStatus

Back