How to get/read the name of the windows user who is editing the word document?

泄露秘密 提交于 2020-01-05 04:29:09

问题


I have recently started working on Microsoft word add ins , I would like to know if there is any way to get/read the name of the windows user who is editing the word document using Office.JS API.

Hope my question makes sense.


回答1:


Not directly at the moment. There is a new set of SSO functionality that just went into Preview however which would allow you to fetch the current user's profile from Microsoft Graph.

See Enable single sign-on for Office Add-ins (preview) for details on how this works.



来源:https://stackoverflow.com/questions/44024992/how-to-get-read-the-name-of-the-windows-user-who-is-editing-the-word-document

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!