如何为基于 Outlook Office-js 的加载项获取 outlook 用户 UPN(用户主体名称)
How to get outlook user UPN(User Principle Name) for Outlook Office-js based add-in
有没有什么方法可以使用 Office.js 从 Outlook 获取登录用户的 UPN?
我尝试了getUserIdentityTokenAsync
andgetCallbackTokenAsync
but neither of these gives any relevant information. The closest I can get is the email address using the userProfile
方法。
不,Office.js 不支持此功能。目前没有启用该支持的计划。
有没有什么方法可以使用 Office.js 从 Outlook 获取登录用户的 UPN?
我尝试了getUserIdentityTokenAsync
andgetCallbackTokenAsync
but neither of these gives any relevant information. The closest I can get is the email address using the userProfile
方法。
不,Office.js 不支持此功能。目前没有启用该支持的计划。