Answered 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 AM
     
     
    Correct.
    Telmo Sampaio
  • Monday, January 09, 2012 6:20 AM
    Moderator
     
     Answered

    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

  • Monday, January 09, 2012 6:25 AM
     
     Answered

    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
  • 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 PM
     
     
    I agree - the documentation needs some serious updating if this is really the case!