I want to get a list item that the current user does not have access to but I need to get it in code. When I use SPSecurity.RunWithElevatedPrivileges
that does not work.
It's because I'm using the Web object of current context in application page.
If I want to make the code work I have to build another SPSite and SPWeb object in RunWithElevatedPrivileges
delegate but I don't want to do that.
How can I achieve this using the Current Web Context in Application Page?