SPContext, anonymous users and SPRunWithElevatedPrivileges

An issue that we’ve come across recently while refactoring some code – rather than opening an SPSite and SPWeb we changed to just use SPContext.Site.Web as we couldn’t remember why we hadn’t used this in the first place. Initial tests were good – however when we tried to view the web part as an anonymous […]

Read More