mailboxSettings 资源类型

命名空间:microsoft.graph

重要

Microsoft Graph版本下的 /beta API 可能会发生更改。 不支持在生产应用程序中使用这些 API。 若要确定 API 是否在 v1.0 中可用,请使用 版本 选择器。

用户的主邮箱 的设置

可以通过 查询用户的 mailboxSettings 属性获取或更新用户的邮箱设置。

属性

属性 类型 说明
archiveFolder string 用户存档文件夹的文件夹 ID。 只读。
automaticRepliesSetting automaticRepliesSetting 自动通知发件人有传入电子邮件(包含一封来自已登录用户的邮件)的配置设置。
dateFormat string 用户邮箱的日期格式。
delegateMeetingMessageDeliveryOptions delegateMeetingMessageDeliveryOptions 如果用户具有日历代理,则指定代理、邮箱所有者还是同时接收会议邮件和会议响应。 可取值为:sendToDelegateAndInformationToPrincipalsendToDelegateAndPrincipalsendToDelegateOnly。 默认值为 sendToDelegateOnly
语言 localeInfo 用户的区域设置信息,包括首选语言和国家/地区。
timeFormat string 用户邮箱的时间格式。
timeZone string 用户邮箱的默认时区。
workingHours workingHours 特定时区用户一周的工作天数和小时数。
userPurpose userPurpose 邮箱的用途。 用于区分单个用户的邮箱与 Exchange Online 中的共享邮箱和设备邮箱。 只读。

JSON 表示形式

下面是资源的 JSON 表示形式。

{
  "archiveFolder": "string",
  "automaticRepliesSetting": {"@odata.type": "microsoft.graph.automaticRepliesSetting"},
  "dateFormat": "string",
  "delegateMeetingMessageDeliveryOptions": "String",
  "language": {"@odata.type": "microsoft.graph.localeInfo"},
  "timeFormat": "string",
  "timeZone": "string",
  "workingHours": {"@odata.type": "microsoft.graph.workingHours"},
  "userPurpose": {"@odata.type": "microsoft.graph.userPurpose"}
}