SPImport not importing security settings
-
Wednesday, January 04, 2012 9:45 PM
Hi all,
I am working on a migration of libraries from a web site to another, crossing site collections. I used SPExport with IncludeSecurity set to all. When I import the library using SPImport using the same settings the new library simply inherits permissions from the web site I am importing the library to, instead of using the unique permissions from the UserGroup.xml file.
Has anyone else come accross this?
Thanks,
Telmo
Telmo Sampaio
All Replies
-
Wednesday, January 04, 2012 11:48 PM
Hi.
Do you mean that you are using Export-SPWeb and Import-SPWeb? Both with the IncludeUserSecurity flag?
Regards
Thomas Balkeståhl - Technical Specialist - SharePoint - http://blksthl.wordpress.com -
Friday, January 06, 2012 12:54 AMCorrect.
Telmo Sampaio -
Monday, January 09, 2012 6:20 AMModerator
Hi,
It is by design that export-spweb does not export role assignments if an SPList is exported, only causing missing permissions on the list after import.
Thank you for your understanding.
Xue-mei Chang
TechNet Community Support
- Marked As Answer by Xue-Mei Chang-MSFTModerator Friday, January 13, 2012 8:43 AM
-
Monday, January 09, 2012 6:25 AM
Hi,
Import-Export and backup-restore command in SharePoint (2007 & 2010) does not support granular permission intact to the list level or list item level. the best approach is to use content deployment in SharePoint to migrate the content to other site with the permission intact on the list/list item level.
Please let me know if it helps!!!
Ajeet- Marked As Answer by Xue-Mei Chang-MSFTModerator Friday, January 13, 2012 8:43 AM
-
Monday, April 30, 2012 6:09 PM
It explicitly says that includeusersecurity does preserve permissions in the documentation:
http://technet.microsoft.com/en-us/library/cc261866(v=office.14).aspx
What would be the point of naming the flag -includeusersecurity? Why not name it preservenamesanddates?
Can you point where in any documentation it says that includeusersecurity will not includeusersecurity? I am running into this issue with stsadm-o export/import on this thread: http://social.msdn.microsoft.com/Forums/en-US/sharepoint2010setup/thread/58404505-e188-4d09-92ae-db55ae67db3a
- Edited by jasonkuter Monday, April 30, 2012 6:11 PM
-
Tuesday, May 29, 2012 5:27 PMI agree - the documentation needs some serious updating if this is really the case!

