Impossible is nothing

记录在sharepoint工作中的经验

博客园 首页 新随笔 联系 订阅 管理

需求:

客户需要通过发送手机短信的服务, 因为通过SPUser对象模型中无法取到手机号码的字段信息,所以现考虑从共享服务中去获取该手机数据。

 

需要的DLL:

Microsoft.SharePoint.dll

Microsoft.Office.Server.dll

 

需要的命名空间:

using Microsoft.SharePoint;
using Microsoft.Office.Server;
using Microsoft.Office.Server.UserProfiles;

 

主要代码:

 

获取用户配置信息的值

 

 

获取用户的手机号码
posted on 2009-05-08 14:11  Lordan  阅读(349)  评论(0)    收藏  举报