LoginWindows.Login method
Log on a user in ASMX-based applications for a Microsoft Project Server 2013 installation that has multi-authentication (claims- and Forms-based authentication).
Namespace: WebSvcLoginWindows
Assembly: ProjectServerServices (in ProjectServerServices.dll)
Syntax
'Declaration
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/LoginWindows/Login", RequestNamespace := "https://schemas.microsoft.com/office/project/server/webservices/LoginWindows/", _
ResponseNamespace := "https://schemas.microsoft.com/office/project/server/webservices/LoginWindows/", _
Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
Public Function Login As Boolean
'Usage
Dim instance As LoginWindows
Dim returnValue As Boolean
returnValue = instance.Login()
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/LoginWindows/Login", RequestNamespace = "https://schemas.microsoft.com/office/project/server/webservices/LoginWindows/",
ResponseNamespace = "https://schemas.microsoft.com/office/project/server/webservices/LoginWindows/",
Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public bool Login()
Return value
Type: System.Boolean
Because of claims authentication for Windows applications, the Login method in applications based on Windows Communication Foundation (WCF) always returns false; no SOAP exceptions are returned.
Remarks
Note
The Login method should not be used for applications that use WCF or that access the PSI on a Project Server installation that uses only claims authentication. Applications can use integrated Windows authentication automatically through claims authentication.
For more information about developing ASMX-based applications in a multi-authentication environment, see Prerequisites for ASMX-based code samples in Project 2013.