GetContactFromOID

Description

Gets a contact from Pocket Outlook using the object ID.

Applies to

POOM objects

Syntax

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

Returns

POOMContact. Use the IsValid function to confirm that a valid contact was returned.

Usage

A user must be logged in to a POOM object to get a contact from Pocket Outlook.

Examples

Example 1

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

See also