Skip to main content
4 events
when toggle format what by license comment
Jun 1, 2012 at 22:05 history edited Dave Wise CC BY-SA 3.0
added 2 characters in body
Jun 1, 2012 at 22:00 comment added Dave Wise Did you use the SPSecurity.RunWithElevatedPrivileges() call as shown above - with ALL of your code inside the block including the retrieval of the SPSite object? If you are using SPContext.Current.Site then it is the context of the user, not the appPool, regardless of where you use it so it is important that you fetch a new SPSite object within the ElevatedPrivs block.
Jun 1, 2012 at 21:13 comment added Tomaszewski Hi, very good tip, I did not know that Anonymous was not part of Everyone. However, Anonymous is disabled in this case. I did try your solution anyway, but sadly it did not work.
Jun 1, 2012 at 20:21 history answered Dave Wise CC BY-SA 3.0