Gets a contact from Pocket Outlook using the object ID.
POOM objects
POOMContact objectname.GetContactFromOID (oid)
Argument |
Description |
---|---|
objectname |
The name of the POOM object |
oid |
Unsignedlong for the object ID of the contact that you want to get |
POOMContact. Use the IsValid function to confirm that a valid contact was returned.
A user must be logged in to a POOM object to get a contact from Pocket Outlook.
The following example retrieves a contact with an object ID of 321:
myContact = g_poom.getContactFromOID( 321 ) if IsValid(myContact) then // Use myContact end if