HOWTO: Show Only GAL in the AddressBook Dialog Box Using CDO

ID: Q245043


The information in this article applies to:
  • Collaboration Data Objects (CDO), versions 1.0a, 1.1, 1.2, 1.21


SUMMARY

The AddressBook method of the Session object displays a dialog box that allows you to select entries from the address book. It may sometimes be necessary to restrict the dialog box to show only Global Address List (GAL) entries but not Contacts or Personal Address Book (PAB) entries.


MORE INFORMATION

The address books available to you in the AddressBook dialog box depends on what profile you are currently logged on with and what information services are set up in that profile. For example, if the logged on profile includes Microsoft Exchange Server, Personal Address Book and Outlook Address Book information services, the AddressBook dialog box will list GAL, PAB and Contacts entries.

Using CDO, there is no programmatic way to exclude some of the information services from the profile.

If you want the AddressBook dialog box to show only GAL entries, you have two options:

  • Logon to a stored profile that only includes Microsoft Exchange Server information service.


  • Create a profile using the ProfileInfo parameter at Logon. Please note that the ProfileInfo parameter is only used by applications interfacing with Microsoft Exchange Server.



REFERENCES

For more information on using ProfileInfo parameter, please refer to the following article in the Knowledge Base:

Q195662 HOWTO: Log On to Exchange with the ProfileInfo Parameter

Additional query words:

Keywords : kbCDO kbCDO100a kbCDO110 kbCDO120 kbCDO121 kbMsg kbGrpMsg kbDSupport
Version : WINDOWS:1.0a,1.1,1.2,1.21
Platform : WINDOWS
Issue type : kbhowto


Last Reviewed: November 10, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.