I have a site collection which is in read only state. I need to get Site Collection administrator's email address. I've tried to use elevated privileges, but still get "Attempted to perform an unauthorized operation". The only working solution is to disable "Read Only" state for span when reading email address occurs.

Does anyone know another solution?

  • Have you tried enabling unsafe updates? (just guessing here) – Hutch Jun 12 '14 at 16:48
  • can you share the code? – Waqas Sarwar MVP Jun 13 '14 at 3:41
  • I Didn't find elegant solution, so disable "Read Only" and enable it again after email has been read. – Topa3b Aug 14 '14 at 8:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.