摘要: 在Share Point 开发过程中经常会遇到无权操作。解决的办是 提升权限。提升权限的方式也很简单。String strurl = SPContext.Current.Site.Url;SPSecurity.RunWithElevatedPrivileges(delegate() { using (SPSite mySite = new SPSite(strurl)) { 执行操作 } });上... 阅读全文
posted @ 2009-05-08 17:51 moonwebmast 阅读(244) 评论(0) 推荐(0) 编辑