Google网上论坛发布权限 [英] Google Groups Post Permissions
问题描述
我同时使用GAM和Google Groups API编写以下脚本:
I have used both GAM and the Google Groups API to script the following:
"whoCanPostMessage":"ALL_IN_DOMAIN_CAN_POST"
"whoCanPostMessage":"ALL_IN_DOMAIN_CAN_POST"
默认情况下,它还包括ALL_MEMBERS_CAN_POST.
By default, this also includes ALL_MEMBERS_CAN_POST.
我不希望成员能够发帖.
I DO_NOT want members to be able to post.
当您需要ALL_IN_DOMAIN时,有什么方法可以排除All_Member?
Is there any way to exclude All_Members when you want ALL_IN_DOMAIN??
(我知道我可以通过Google管理控制台手动进行操作,但这很繁琐且耗时)
(I know I could do it manually, one-by-one, through the Google Admin Console, but that would be very tedious and time consuming)
请帮助!
推荐答案
According to the Groups Settings API documentation, possible settings for this attribute are:
NONE_CAN_POST ALL_MANAGERS_CAN_POST ALL_MEMBERS_CAN_POST ALL_IN_DOMAIN_CAN_POST ANYONE_CAN_POST
NONE_CAN_POST ALL_MANAGERS_CAN_POST ALL_MEMBERS_CAN_POST ALL_IN_DOMAIN_CAN_POST ANYONE_CAN_POST
将此属性设置为ALL_IN_DOMAIN_CAN_POST也会添加ALL_MEMBERS_CAN_POST.无法通过API选择ALL_IN_DOMAIN而不是ALL_MEMBERS.
as you've seen in testing, setting this attribute to ALL_IN_DOMAIN_CAN_POST also adds ALL_MEMBERS_CAN_POST. There's no way to select ALL_IN_DOMAIN and not ALL_MEMBERS via the API.
这篇关于Google网上论坛发布权限的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!