O'Reilly logo

Programming for Unified Communications with Microsoft® Office Communications Server 2007 R2 by Micosoft Office Communications Server Team, Oscar Newkerk, Chris Mayo, Vishwa Ranjan, Kurt De Ding, Rui Maximo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Working with the Office Communicator Contact List

The IMessengerContacts interface provides access to the user’s contact list in Office Communicator 2007 R2, as well as the ability to remove contacts from the contact list. You use the Messenger class to add contacts to the contact list.

Messenger.MyContacts Property

A call to the Messenger.MyContacts property returns an instance of the IMessengerContacts interface. For example, the following code gets an instance of IMessengerContacts by using the Messenger class.

_messenger = new Messenger();

IMessengerContacts _contacts = (IMessengerContacts)
    _messenger.MyContacts;

IMessengerContacts.Item() Method

The IMessengerContacts interface provides a collection of IMessengerContactAdvanced instances, one for ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required