11 2010 档案

摘要:SPSecurity.RunWithElevatedPrivileges 可以提升权限 实现模拟管理员身份的功能 ,但是SPContext.Current.Site,SPContext.Current.Web 根据这些方法获得的对象都是以当前登录用户权限运作。SPSecurity.RunWithElevatedPrivileges(delegate() { using (SPSite spSite... 阅读全文
posted @ 2010-11-12 11:43 笑看苍天 阅读(528) 评论(0) 推荐(0) 编辑