locked
Sharepoint 2010 permissions and site templates RRS feed

  • Question

  • Hello,

    I am trying to create a sharepoint 2010 site (to be used as a template) with custom user group permissions. When I create a new site based on this template, will those permissions be retained?

    Also, assuming that the answer is yes, can I use the above mentioned user groups to define the access level of the users belonging to the groups for the various sites created by the template, but at the same time only allow them to access few of those sites (and not all). For instance, a user's access will be defined by (A) the number of sites he can see and (B) his customized rights on these sites, defined by the user group he is in

    Thanks,

    Nikos

    Wednesday, September 28, 2011 3:21 PM

Answers

  • Hi,

     

    You can use the PowerShell command Export-SPWeb to export your site and set the parameter IncludeUserSecurity, it will export the site to a .cmp file with permission.

    After this, you can  use Import-SPWeb to import the file to a site, and then in the site, you can define site permission as your requirement.


    Xue-Mei Chang
    • Proposed as answer by Brian Willner Friday, September 30, 2011 11:22 AM
    • Marked as answer by Entan Ming Friday, October 7, 2011 6:26 AM
    Friday, September 30, 2011 7:12 AM

All replies

  • Hi,

     

    You can use the PowerShell command Export-SPWeb to export your site and set the parameter IncludeUserSecurity, it will export the site to a .cmp file with permission.

    After this, you can  use Import-SPWeb to import the file to a site, and then in the site, you can define site permission as your requirement.


    Xue-Mei Chang
    • Proposed as answer by Brian Willner Friday, September 30, 2011 11:22 AM
    • Marked as answer by Entan Ming Friday, October 7, 2011 6:26 AM
    Friday, September 30, 2011 7:12 AM
  • Thanks! 

    Will the above method also maintain workflows of my template site?

    Thanks,

    Nikos

     

    Wednesday, October 26, 2011 9:02 AM