(Contents)(Previous)(Next)

GetEmployees()

Description: Returns the list of employees.
Syntax: object.GetEmployees()
Parameters:
object Required, the Company object
Remarks: This method returns a Contact list object which contains all the employees of this company.
Returns: A Contact list object
Example:
Dim session As Object

Set session = CreateObject("OfficeTalk.Session")

Set user = session.Logon(login name, password)

Set comp = session.GetCompanies.GetFirst

Set employees = comp.GetEmployees

Set empl = employees.GetFirst


Next