(Contents)(Previous)(Next)

GetCompanies()

Description: Returns the list of companies belonging to this group.
Syntax: object.GetCompanies()
Parameters:
object Required, the Contact Group object
Remarks: This method returns the list of companies belonging to the contact group.
Returns: A Company list object
Example:
Dim session As Object

Set session = CreateObject("OfficeTalk.Session")

Call session.Logon(login name, password)

Set cntgrp = session.GetContactGroups.GetFirst

Set comps = cntgrp.GetCompanies

Set comp = comps.GetFirst


Next