使用SDK管理联系人

问题描述:

大家好,我想管理用户联系人列表。

hi all, I would like to manage a users contact list.

基本上,我只想阅读所有的联系人进入文件,然后返回并从他们的Lync客户端删除某些用户联系人。

Basically, I just want to read all the contacts into a file and then go back and delete certain user contacts from their Lync client.

有没有人有关于如何执行此操作的示例? 

Does anyone have an example on how to do this? 

谢谢

(我是.NET C#程序员的新手)

(I'm a novice .NET C# programmer)

您好,

Lync Client SDK附带了一个示例应用程序,名为联系信息,可以为您提供帮助。具体来说,示例中涵盖的内容之一是:

The Lync Client SDK comes with a sample application, called Contact Information, which may help you. Specifically, one of the things covered in the sample is:


  • 获取Lync联系人的信息,例如姓名,照片,当前可用性和个人注释。

这个示例应该为您提供一个非常好的头脑,以获取联系信息,以及写回/删除联系人的体面指针。

This sample should give you a really good headstart to getting contact information, as well as a decent pointer to writing it back / deleting contacts.

如果安装了SDK,可以看到示例:

You can see the sample, if you have the SDK installed, here:

路径:%PROGRAMFILES%\ Microsoft Lync \ SDK \ Samples \ContactInformation或
%PROGRAMFILES(X86)% \ Microsoft Lync\SDK \Samples \ContactInformation

Path: %PROGRAMFILES%\Microsoft Lync\SDK\Samples\ContactInformation or %PROGRAMFILES(X86)%\Microsoft Lync\SDK\Samples\ContactInformation

MSDN链接: http://msdn.microsoft.com/en-us/library/hh378600.aspx

希望有所帮助!