How to make sub sites in SharePoint 2010 as Read Only RRS feed

  • Question

  • Hello,

    We have a requirement to make sub site as read only in SharePoint 2010 programmatically.

    How we can achieve it using Server Object Model ?



    Wednesday, December 24, 2014 6:53 AM


All replies

  • Hi,

    Please check the links below.This should help you



    Please remember to click 'Mark as Answer' on the answer if it helps you

    Wednesday, December 24, 2014 7:06 AM
  • Hi Hatim,

    Create group which will have Read only permissions (or you user Site Visitors group).

    Add your user to the same group.



    Please vote or mark your question answered, if my reply helps you

    Wednesday, December 24, 2014 7:07 AM
  • Why dont to break inheritance of the subsite and give just read permission to everyone.


    If this helped you resolve your issue, please mark it Answered. You can reach me through http://itfreesupport.com/

    Wednesday, December 24, 2014 7:08 AM
  • Thank you for the reply.

    This workaround will work out by assigning read permission to all my sub site users.

    But I need to know is there a way we can make a sub site read only so whenever we need to make it editable we can switch back the way we can do it for Site Collection.

    Wednesday, December 24, 2014 8:51 AM
    • Marked as answer by Patrick_Liang Monday, January 5, 2015 8:32 AM
    Thursday, December 25, 2014 10:07 AM