none
BreakRoleInheritance method takes more time RRS feed

  • Question

  • Hi All,

        Whenever we create a folder in document library , we are breaking the inherited permissions from the parent folder using this code.

        foder.Item.BreakRoleInheritance(false);

       It is not taking much time at the initial levels. Once  the number of folders at the same level getting increased  that function taking more than 5 mintue. Is BreakRoleInheritance() function depends the no of folders at the same level? Is there anyway to overcome this problem?

    Thanks
    R.Prakash
    Saturday, January 10, 2009 3:03 PM

All replies