groupSetting 资源类型groupSetting resource type

组设置控制诸如组显示名称阻止的单词列表的行为, 或者是否允许来宾用户成为组所有者。Group settings control behaviors such as blocked word lists for group display names or whether guest users are allowed to be group owners.

可以基于可用的groupSettingTemplates创建组设置, 并将其从预设默认值更改为。Group settings can be created based on the available groupSettingTemplates, and changed from their preset defaults. 这些设置管理租户级或特定组的组行为。These settings govern group behaviors at a tenant-wide level or to a specific group. 当同时在租户范围和特定组中定义相同设置时, 组级别设置将覆盖租户范围内的设置。When the same setting is defined at both the tenant-wide and to a specific group, the group-level setting overrides the tenant-wide setting. 例如, 租户范围内的设置可能会允许来宾受到现有组成员的邀请, 但单个组设置可以覆盖, 而不允许由组成员邀请来宾。For example, the tenant-wide setting may allow guests to be invited by existing members of groups, but an individual group setting can override and not allow guests to be invited by members of the group. 组设置仅控制 Office 365 组的行为。Group settings only govern Office 365 groups behavior.

方法Methods

方法Method 返回类型Return Type 说明Description
创建设置Create setting groupSettinggroupSetting 创建基于 groupSettingTemplate 的 setting 对象。Create a setting object based on a groupSettingTemplate. POST 请求必须为模板中定义的所有设置提供 settingValues。The POST request must provide settingValues for all the settings defined in the template.
获取设置Get setting groupSettinggroupSetting 读取特定设置对象的属性。Read properties of a specific setting object.
列出设置List settings groupSetting 集合groupSetting collection 列出所有设置对象的属性。List properties of all setting objects.
更新设置Update setting groupSettinggroupSetting 更新 groupsetting 对象。Update groupsetting object.
删除设置Delete setting None 删除 setting 对象。Delete a setting object.

属性Properties

属性Property 类型Type 说明Description
displayNamedisplayName StringString 来自关联模板的此组设置的显示名称。Display name of this group of settings, which comes from the associated template.
idid StringString 这些设置的唯一标识符。Unique identifier for these settings. 只读。Read-only.
templateIdtemplateId StringString 用于创建此组设置的模板的唯一标识符。Unique identifier for the template used to create this group of settings. 只读。Read-only.
valuesvalues settingValue集合settingValue collection 名称值对的集合。Collection of name value pairs. 必须包含并设置在模板中定义的所有设置。Must contain and set all the settings defined in the template.

关系Relationships

无。None.

JSON 表示形式JSON representation

下面是资源的 JSON 表示形式。Here is a JSON representation of the resource.

{
  "displayName": "String",
  "id": "String (identifier)",
  "templateId": "String",
  "values": [{"@odata.type": "microsoft.graph.settingValue"}]
}