摘要: if (item.Attachments.Count 0) { for (int a = 0; a item.Attachments.Count; a++) { if (a == 0) { this.Label1.Text = "附件 1:a href=" + item.Attachments.UrlPrefix + item.Attachments[a] + " target=_blank[" + item.Attachments[a] + "]/abr"; } else if (a == 1) { this.Label2.Text = "附件 2: 阅读全文
posted @ 2010-12-05 20:27 China2008 阅读(175) 评论(0) 推荐(0)
摘要: 如何:使用 Web 服务修改用户配置文件数据SharePoint 2010 其他版本 Office 2007 借助 Microsoft SharePoint Server 2010,您可以通过使用用户配置文件服务 Web 服务来更新用户配置文件数据。 以下示例将向您演示如何更新用户的家庭电话号码。执行代码之前,您必须向用户配置文件服务 Web 服务添加 Web 引用。该 Web 服务位于 http://site URL/_vti_bin/userprofileservice.asmx。使用此代码之前,请用实际的值替换 domainname、username 和电话号码 (nnnnnnnnn 阅读全文
posted @ 2010-12-05 16:06 China2008 阅读(284) 评论(0) 推荐(0)