Showing posts with label breakroleinheritance. Show all posts
Showing posts with label breakroleinheritance. Show all posts

August 21, 2007

MOSS: BreakRoleInheritance throws exception

Problem:
Calling BreakRoleInheritance on a list throws exception if the method's CopyRoleAssignments parameter is set to false. Exception thrown is "The security validation for this page is invalid."

Workaround:
Use true as the parameter and remove all permissions later in code.

Solution:
Unknown