【问题标题】:Using Microsoft.Graph Calendar Event and Sensitivity使用 Microsoft.Graph 日历事件和敏感度
【发布时间】:2018-07-24 11:32:38
【问题描述】:

根据 Outlook 日历 事件的文档,敏感度可以是:

//
// Summary:
//     The enum Sensitivity.
[JsonConverter(typeof(EnumConverter))]
public enum Sensitivity
{
    //
    // Summary:
    //     normal
    Normal = 0,
    //
    // Summary:
    //     personal
    Personal = 1,
    //
    // Summary:
    //     private
    Private = 2,
    //
    // Summary:
    //     confidential
    Confidential = 3
}

所以,我这样编码:

Sensitivity = oData.Settings.SetCalendarPrivate ? Sensitivity.Private : Sensitivity.Normal

然而,当您实际登录 Web Outlook 客户端时,界面中的事件如下所示:

这只是一个复选框。那么为什么它不是一个下拉列表呢?

其他设置如何使用?如果与他人共享日历会有什么影响?

【问题讨论】:

  • windowsitpro.com/outlook/… - “私人是唯一具有任何约会相关功能的敏感度设置。将约会或会议请求的敏感度属性设置为个人或机密没有效果。也许这就是 Outlook 的原因仅在约会表单上提供私人复选框,而不是像消息选项对话框中那样的敏感度下拉列表。"
  • @stuartd 谢谢。

标签: c# microsoft-graph-api


【解决方案1】:

Outlook 客户端可以设置其他属性。 Graph API 中与事件相关的许多属性都源自 Exchange 服务器中存在的属性,即使它们在日历 Web 界面中可能不可见。

在 Outlook 中,当约会窗口打开时,更改敏感度的 UI 位于文件/属性中:

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2021-10-12
    • 2016-02-13
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2018-07-16
    • 1970-01-01
    相关资源
    最近更新 更多