命名空间:microsoft.graph
重要
Microsoft Graph /beta 版本下的 API 可能会发生更改。 不支持在生产应用程序中使用这些 API。 若要确定 API 是否在 v1.0 中可用,请使用 版本 选择器。
表示用户邮箱中的个人通讯组列表。 通讯组列表允许用户将电子邮件收件人分组在一起,以便他们可以一次向所有成员发送邮件,而无需单独输入每个地址。
继承自 outlookItem。
方法
| 方法 | 返回类型 | Description |
|---|---|---|
| List | distributionList 集合 | 获取用户邮箱中的 个人通讯组列表 列表。 |
| 创建 | distributionList | 在用户的邮箱中新建 个人通讯组列表 。 |
| Get | distributionList | 读取 distributionList 对象的属性和关系。 |
| 更新 | distributionList | 更新 distributionList 对象的属性。 |
| 删除 | 无 | 删除 distributionList 对象。 |
| 添加成员 | distributionList | 向 distributionList 添加成员。 |
| 删除成员 | distributionList | 从 distributionList 中删除成员。 |
属性
| 属性 | 类型 | 说明 |
|---|---|---|
| 类别 | String collection | 与通讯组列表关联的类别。 继承自 outlookItem。 |
| changeKey | String | 用于通过标头进行 If-Match 乐观并发控制的版本标识符。 只读。 继承自 outlookItem。 |
| createdDateTime | DateTimeOffset | 创建通讯组列表的日期和时间。 时间戳类型使用 ISO 8601 格式表示日期和时间信息,并且始终采用 UTC 格式。 例如,2024 年 1 月 1 日的午夜 UTC 时间为 2024-01-01T00:00:00Z。 只读。 继承自 outlookItem。 |
| displayName | String | 通讯组列表的显示名称。 |
| id | String | 通讯组列表的唯一标识符。 只读。 继承自 outlookItem。 |
| lastModifiedDateTime | DateTimeOffset | 上次修改通讯组列表的日期和时间。 时间戳类型使用 ISO 8601 格式表示日期和时间信息,并且始终采用 UTC 格式。 例如,2024 年 1 月 1 日的午夜 UTC 时间为 2024-01-01T00:00:00Z。 只读。 继承自 outlookItem。 |
| notes | String | 通讯组列表备注。 |
| personIdentifier | String | 邮箱中通讯组列表的唯一标识符。 只读。 |
关系
| 关系 | 类型 | 说明 |
|---|---|---|
| 成员 | distributionListMember 集合 | 通讯组列表的成员。 默认不返回;用于 $expand=members 包括。 只读。 |
| singleValueExtendedProperties | singleValueLegacyExtendedProperty collection | 为通讯组列表定义的单值扩展属性的集合。 只读。 |
JSON 表示形式
以下 JSON 表示形式显示资源类型。
{
"@odata.type": "#microsoft.graph.distributionList",
"id": "string (identifier)",
"createdDateTime": "string (timestamp)",
"lastModifiedDateTime": "string (timestamp)",
"changeKey": "string",
"categories": [
"string"
],
"displayName": "string",
"notes": "string",
"personIdentifier": "string"
}