Export (0) Print
Expand All

Get started with Lync contact lists

Learn the programming concepts and Microsoft Lync 2013 SDK object model for building a Microsoft Lync 2013 contact list in an application UI.

Applies to:  Lync 2013 | Lync Server 2013 

Get set up    Get to work   Learn more

Microsoft Lync 2013 SDK provides programmatic access to the Lync 2013 contact list object model under the contact list that is displayed in the Lync 2013 client when a user signs in to Lync. The contact list object model exposes classes, methods, properties, and events that let you do simple tasks such as updating the client contact list by adding a new contact or renaming a custom group. If your application requirements include showing a view of the Lync contact list within your own UI, you can build and maintain that list by using the contact list object model. An example of this is an application that replaces the Lync UI that is configured for UI-suppression mode. For more information, see UI suppression.

The prerequisites for working with Lync contact lists are as follows:

  • Microsoft Lync 2013

  • Visual Studio 2010 or Visual Studio 2012

  • Microsoft Lync 2013 SDK

Lync contact list essentials

To understand how to work with Lync contact lists, it is important to become familiar with the concepts in the following table.

Concept

Description

Lync contact groups

Learn about the custom Lync contact group and about the classes and events in Microsoft Lync 2013 SDK that give you programmatic access to the custom group.

Distribution groups

Learn about the Lync distribution group and about the classes and events in Microsoft Lync 2013 SDK that let you programmatically iterate on the contacts and any nested distribution groups.

Lync contacts

Learn about the Microsoft Lync 2013 classes and enumerations that encapsulate all the attributes of a Lync 2013 contact.

The following table lists basic tasks for working with Lync contact lists.

Task

Description

How to: Add or remove a person from a contact list

Shows how to remove a contact from a Lync 2013 user’s contact list by calling methods from the Lync 2013 API.

How to: Add, rename, or remove a custom group

Shows how to add or remove a custom group from a user’s contact list in Lync 2013 by using Microsoft Lync 2013 SDK.

How to: Move or copy a contact between custom groups in Lync SDK

Shows how to use Microsoft Lync 2013 SDK to programmatically move or copy a Lync 2013 contact from one Lync 2013 group to another Lync 2013 group in a user’s contact list.

How to: Display a contact list

Shows how to use members of the Microsoft.Lync.Model namespace to provide contact presence and presence updates to build a custom Lync contact list UI.

How to: Search for a contact or distribution group

Shows how to search for Lync users and distribution groups by using Microsoft Lync 2013 SDK to programmatically add a contact and group feature to your code.

The following table lists advanced concepts for working with Lync contact lists.

Concept

Description

Advanced contact search

Learn about custom Lync contact searches.

Handle events for ContactManager_Retired

Learn about handling the events raised by the Microsoft.Lync.Model.ContactManager object in Microsoft Lync 2013 SDK.

Community Additions

ADD
Show:
© 2014 Microsoft