WebSvcLoginWindows 命名空间

The LoginWindows class is the primary class in the WebSvcLoginWindows namespace. The LoginWindows class is used only in multi-authentication (claims- and forms-based) environments for ASMX-based applications.

备注

In the ASMX web service, LoginWindows is a class. In the WCF service, LoginWindows is an interface that is implemented in the LoginWindowsClient class. For information about using the LoginWindowsClient class in a WCF-based application, see the Project class constructor.

The LoginWindows class is not used in Project Server installations that have only claims authentication. Because of claims authentication, integrated Windows authentication works without a call to the Login method in WCF-based applications.

The LoginWindows class in the web service includes only the Login and Logoff methods. A separate LoginWindows.asmx file is included in each Project Web App virtual site in a SharePoint farm. WebSvcLoginWindows is available only through Project Web App; it is not one of the services in the Project service application that is hosted on the SharePoint web Services site.

For logon and logoff with Forms authentication, see WebSvcLoginForms.

For more information about developing ASMX-based applications in a multi-authentication environment, see Project 2013 中基于 ASMX 的代码示例的先决条件.

  说明
公共类 LoginWindows LoginWindows 类在多身份验证(基于声明和表单的)环境中仅用于 ASMX 应用程序。