基于Outlook Web的添加 - 如何在Outlook中在线获取时区设置?

问题描述 投票:-1回答:1

我正在为Outlook Web上的Office Web加载项工作。但我无法使用Js客户端enter image description here从web插件中获取时区

enter image description here

任何帮助将非常感激 :)

如果您需要其他信息,请与我们联系。

outlook-web-addins
1个回答
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

© www.soinside.com 2019 - 2024. All rights reserved.