设置关联的所有者组REST [英] setting associated owner group REST

查看:101
本文介绍了设置关联的所有者组REST的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经创建了一些设计器工作流,这些工作流与使用REST创建子站点的列表相关联.

将新项目添加到列表时,将基于列表标题创建具有唯一权限的子站点.效果很好.

我注意到的是,新创建的网站根本没有任何权限.因此,我需要添加一个现有的所有者"组和一个新的成员组.

我发现了几个名为SPWeb . AssociatedMemberGroup和SPWeb . AssociatedOwnerGroup的属性.这些对于我的新网站都是空白.

我想"我需要将AssociatedOwnerGroup设置为父站点中存在的现有组,并为AssociatedMemberGroup设置一个新的空组.

我可以使用rest创建新的成员组,但是无法弄清楚如何在我的新站点上授予它权限.

我附上了一个插图,以防不便理解...

解决方案

只需添加即可.

我曾尝试设置associatedOwnerGroup,但没有任何变化...也许我没有提供正确的参数?

这是我在工作流程结束时发送的电子邮件,因此我可以看到发生了什么.


I've created some designer workflows associated to a list that creates subsites using REST.

When a new item is added to the list a subsite with unique permissions is created based on the list title. This works fine.

What I have noticed is that the newly created site has no permissions at all. So I need to add an existing 'owners' group and a new members group.

I have discovered a couple of properties called SPWeb.AssociatedMemberGroup and SPWeb.AssociatedOwnerGroup. These are both blank for my new site.  

I 'think' I need to set the AssociatedOwnerGroup to an existing group that exists in the parent site, and a new empty group for AssociatedMemberGroup.

I can create the new members group using rest, but cannot figure out how to grant it permissions on my new site.

I've attached an illustration in case this isn't easy to follow...

解决方案

Just to add..

I have tried setting associatedOwnerGroup, but nothing changes... maybe I'm not supplying the correct parameters? 

this is an email I send at the end of the workflow so I can see whats happening.. 


这篇关于设置关联的所有者组REST的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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