[英]Can I reuse authentication used by ms office in my app?
When you start MS Office application (Word 2013 or Excel 2013) you can use "Sign In" to login to your account, and afterwards Office uses that login/password to connect to your stuff online (like your sharepoint site or your onedrive). 当启动MS Office应用程序(Word 2013或Excel 2013)时,可以使用“登录”登录到您的帐户,然后Office使用该登录名/密码在线连接到您的东西(例如您的sharepoint网站或onedrive)。
These credentials are stored in VAULT (user credentials), you have something like MicrosoftOffice15_Data:orgid:bla-bla-bla
. 这些凭据存储在VAULT(用户凭据)中,您具有类似于
MicrosoftOffice15_Data:orgid:bla-bla-bla
。 Is it possible to re-use these saved credentials to connect to user's stuff, so that he does not need to enter these second time? 是否可以重复使用这些保存的凭据来连接用户的资料,从而使他不需要再次输入这些信息?
Ie is it possible to connect to user's stuff using these credentials from my app by somehow using those credentials office asked user to enter? 即可以通过我的应用程序中的这些凭据通过使用那些凭据办公室要求用户输入的内容来连接到用户的资料?
If your app is an "App for Office" app, I guess you automagically use the current credentials. 如果您的应用程序是“ Office应用程序”应用程序,那么我想您会自动使用当前凭据。 You might also be able to use vba to do stuff with these credentials.
您也许还可以使用vba来使用这些凭据进行操作。
If your app is completely separate, I guess there is no chance. 如果您的应用程序是完全独立的,那么我猜没有机会。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.