会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
poissonnotes
珍山钙茶
博客园
首页
新随笔
联系
订阅
管理
2014年1月5日
SharePoint如何模拟用户
摘要: try { SPSecurity.RunWithElevatedPrivileges(delegate() //用此方法模拟管理员账户运行此事件处理程序 { SPWeb web = SPContext.Current.Web; //此时用户为sharepoint\system //Response.Write("用户为:" + web.CurrentUser); ...
阅读全文
posted @ 2014-01-05 22:36 poisson_notes
阅读(930)
评论(0)
推荐(1)
编辑
公告