Andy Neillans
Andy Neillans

Reputation: 368

Exporting user permissions?

Does anyone know of any way to export user and role permissions, and then re-import them on another copy of Sitecore?

I've had a search around, and bar writing a bit of code to do this, doesn't appear to be anything immediately available ...

Upvotes: 3

Views: 2424

Answers (2)

Stephen Pope
Stephen Pope

Reputation: 3551

There are two ways to do this .. you can make a Sitecore package and add them to that, the other way is to use Serialization which will write text files to disk that you can then restore into another sitecore instance.

The choice very much depends on how many users / roles you have to move. If its just a few, you can use a Sitecore package but if you have a lot you will probably want to use serialization to do it.

More info about each topic can be found here..

Upvotes: 1

wilsjd
wilsjd

Reputation: 2258

The permissions are actually stored on the items themselves, not the Role or User objects. There are two ways to export the object like Stephen mentioned, perform the export/import on the item you granted/revoked access to, not the role or user.

Upvotes: 4

Related Questions