许可证检查和Active Directory [英] License Checks and Active Directory

查看:81
本文介绍了许可证检查和Active Directory的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当Word加载项执行
许可检查时

When a Word Add-in does a license check it uses the URL:

      http://myApp/index.htm?et = PAByAD4APAB0ACAA ...

     http://myApp/index.htm?et=PAByAD4APAB0ACAA...

我有一个用户登录Active Directory Sync和Okta.com来检查凭据和网址返回时没有查询字符串参数"et":

I have a user that signs-in with Active Directory Sync and Okta.com to check credentials and the URL comes back without the query string parameter ‘et’ in it:

      http://myApp/index.htm

     http://myApp/index.htm

当用户登录时,Active Directory Sync是否会删除查询字符串参数'et'? b $ b是否有其他方法可以对Active Directory Sync用户进行许可检查?

Is there something about Active Directory Sync that removes the query string parameter ‘et’ when a user signs-in?
Is there some other way to do a license check on an Active Directory Sync user?

推荐答案

Hi BtandbZ,

Hi BtandbZ,

感谢您在MSDN论坛上发帖。

Thanks for posting in MSDN forum.

根据我的理解,我们需要在启动加载项并且Office应用程序请求时检查许可证加载项主页第一次而不是用户使用Microsoft帐户登录应用程序后。由于许可证框架使用
帐户,因此您在Office应用程序中签名而不是在Web应用程序中为许可证信息签名的帐户。

Based on my understanding, we need to check the license when the add-in is launched and the Office application requests the add-in home page first time instead of after the user login the app with Microsoft account. Because the license framework use the account you sign the Office application instead of the account you sign the web application for the license information.

您可以参考以下信息了解更多信息详细信息:

You can refer to the information below about more detail:


您的许可证检查代码应确定加载项许可证令牌是否存在,如果存在则检索它。

Your license checking code should determine if the add-in license token is present, and retrieve it if it is.



  • 对于内容和任务窗格Office加载项,当启动加载项并且Office应用程序请求加载项主页时,Office应用程序将许可证标记作为HTTP请求中的查询参数传递。加载项代码必须提取并缓存
    此信息,以便加载项中的许可证检查代码可以在以后访问它。

  • For content and task pane Office Add-ins, when the add-in is launched and the Office application requests the add-in home page, the Office application passes the license token as a query parameter in the HTTP request. The add-in code must extract and cache this information, so that the license checking code in the add-in can later access it.

如果用户未登录对于他们的Microsoft帐户,请求加载项主页的Office应用程序不会附加许可证标记参数。请参阅

加载项许可证令牌和匿名访问Office加载项
以获取更多信息。

If the user is not signed in to their Microsoft account, the Office application requesting the add-in home page does not append the license token parameter. See Add-in license tokens and anonymous access for Office Add-ins for more information.

对于付费的Outlook加载项,Exchange会附加应用程序的源位置URL,其中许可证令牌作为URL的查询参数,然后将加载项清单传输到Outlook。启动加载项后,Outlook会将许可证令牌作为HTTP请求中的查询参数
传递。加载项代码必须提取并缓存此信息,以便加载项中的许可证检查代码可以在以后访问它。

For paid Outlook add-ins, Exchange appends the app’s source location URL with a license token as a query parameter of the URL, then transmits the add-in manifest to Outlook. When the add-in is launched, Outlook passes the license token as a query parameter in the HTTP request. The add-in code must extract and cache this information, so that the license checking code in the add-in can later access it.

对于SharePoint加载项,应用程序的许可证检查代码在SharePoint部署中查询许可证令牌。

For SharePoint Add-ins, the app’s license checking code queries the SharePoint deployment for the license token.


这篇关于许可证检查和Active Directory的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆