Skip to main content

Mask your SPSIteSPSite context request with SPSecurity.RunWithElevatedPrivileges(delegate() { // Your code within });

SPSecurity.RunWithElevatedPrivileges(delegate()
                { 
// Your code within
});

This will override the permissions to the list.

Mask your SPSIte context request with SPSecurity.RunWithElevatedPrivileges(delegate() { // Your code within });

This will override the permissions to the list.

Mask your SPSite context request with

SPSecurity.RunWithElevatedPrivileges(delegate()
                { 
// Your code within
});

This will override the permissions to the list.

Source Link

Mask your SPSIte context request with SPSecurity.RunWithElevatedPrivileges(delegate() { // Your code within });

This will override the permissions to the list.