腾飞
拥抱技术
博客园
首页
博问
闪存
新随笔
联系
订阅
管理
随笔-27 文章-9 评论-2
11 2010 档案
SPSecurity.RunWithElevatedPrivileges 拒绝访问
摘要: SPSecurity.RunWithElevatedPrivileges 可以提升权限 实现模拟管理员身份的功能 ,但是SPContext.Current.Site,SPContext.Current.Web 根据这些方法获得的对象都是以当前登录用户权限运作。SPSecurity.RunWithElevatedPrivileges(delegate() { using (SPSite spSite...
阅读全文
posted @
2010-11-12 11:43
笑看苍天 阅读(96) |
评论 (0)
编辑
公告