views:

24

answers:

1

So I know how to break inheritance from a list (SPList.BreakRoleInheritance(true)), but how do you reinherit from it's parent programmatically?

Thanks

+2  A: 

Duh...of course as soon as you ask a question, the universe provides.

SPList.ResetRoleInheritance

I swear I looked at the API like 6 times and never saw that.

WOO HOO!!!

SPGuy