We have an old Sitecore installation, and I need to clean up and consolidate our own created roles. We have partial overlapping roles and too many to make them useful. I prefer to do it with spe or C# and not directly in the db.

So to be more precise - how do I extract the rights to the items from each of the two roles and merge the two into one new role and delete the two old one’s?

1 Answer 1


SPE includes a toolbox item called "Transfer item security" which provides a way to query what's in the database matching a role or user and transfer ownership to a new role.

You can find the source code here if you are on a version of SPE prior to 6.4.



  • Just what I was looking for Thx Michael!!!!!
    – Kurt Bilde
    Sep 8, 2023 at 7:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.