Outlook Web base插件-如何在线获取Outlook中的时区设置?

时间:2018-08-27 04:59:52

标签: outlook-web-addins

我正在为Outlook Web开发Office Web加载项。但是我无法使用Js客户端enter image description here

从网络插件内部获取时区

enter image description here

任何帮助将不胜感激:)

让我知道是否需要其他信息。

1 个答案:

答案 0 :(得分:0)

您可以通过Office.context.mailbox.userProfile.timeZone获取用户的时区,并在此处https://docs.microsoft.com/en-us/javascript/office/objectmodel/requirement-set-1.6/Office.context.mailbox.userProfile?view=office-js

中进行记录。