将网站另存为包含权限的模板 [英] Save site as template including permissions

查看:56
本文介绍了将网站另存为包含权限的模板的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



$
最近我遇到了一位客户要求保存网站作为模板以及权限的请求在源网站上分配。



根据我的研究,这是不可能的OOB功能,但它可以通过一些开发人员方法,如"WebProvision方法"& "通过视觉工作室自定义编码工作流程"
$


但我仍然想知道是否有任何替代方法可以通过Infra方法完成此任务。



$
提前致谢!

解决方案


将网站另存为模板作为SharePoint Designer的选项提供,但不适用于发布网站。您无法将发布网站另存为模板。



以编程方式:



WebURL = " http ://你的站点信息收集网址"

Hi All,


Recently I came across a request from one of my client to save a site as template along with permissions assigned on source site.

As per my research this is not possible with OOB features, however it could be achieved through some developer approach like "WebProvision Method" & "Custom Coded Workflow through visual studio"

But still I would like to know if there is any alternate approach to get this done with Infra approach.


Thanks in Advance!

解决方案

Save Site As Template is available as an option on SharePoint Designer but not for Publishing sites. You cannot save a publishing site as a template.

Programmatically:


WebURL = "http://your-site-collection-URL"


这篇关于将网站另存为包含权限的模板的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆