We have a requirement where we need to assign/remove permission for SharePoint groups at sub site level based on the case. We are unable remove permission for Site Collection Visitors in subsite. Initially when sub site was created it inherit from site collection, then it will break inheritance. I shouldn't remove permission from Site or Site collection. I just need to remove permission for visitors group from subsite. Is it possible through code.. If yes kindly provide the code sample for the same
Thanks in Advance