I want to disable list throttling through code so i have written the following code
SPList lstBookings = web.Lists.TryGetList("Bookings");
lstBookings.EnableThrottling = false;
But does this requires the code to be running under elevated privileges, because if i login as a non admin user it gives me an error cannot login.
Anyone any ideas?