What is the difference between using ListItem.BreakRoleInheritance(true) and ListItem.BreakRoleInheritance(false)?
I get the same result when using these two and I’m wondering what tells them apart?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
As stated in the documentation, it’s a boolean that states whether or not the role assignments are copied from the parent to the child. If false, the child will have a blank slate (other than owner) for roles. If true, it’ll have whatever the parent has at the time you call the method.