This installment of APIs by Example shows how to use one of the Office APIs, Search System Directory (QOKSCHD). The example consists of two objects, service program CBX005, and program CBX005I.
Procedure GetSmtpAddr in service program CBX005 accepts as input the user ID and address that constitute the system directory entry and returns the user’s formatted SMTP address.