!--a11y-->
SAPLoginProvider Class 
The SAPLogonProvider class can be used with ASP .NET applications to retrieve a connection to the SAP system from the SAPLogin form or if available from either the session state or an ASP .NET cookie if the user had already visited the site. See SAP Login Form for details. The SAPLoginProvider is a static object of the SAP .Connector.
|
[C#] public class SAPLogonProvider : System.Object |
Public Properties
|
Connection |
Not yet implemented |
Public Methods
|
public static void CloseSAPConnection (System.Web.UI.Page p) |
Used internally to close the SAP Connection |
|
public static SAP.Connector.SAPConnection GetSAPConnection (System.Web.UI.Page p) |
This method is used to get the connection from a SAPLoginForm in your project. It is part of the SAP Connection code provided in the SAP Proxy toolbox |
|
public static void OpenSAPConnection (System.Web.UI.Page p , System.String connstr , System.Boolean persist) |
Used internally to open the SAP Connection |
Example
|
proxy.Connection = SAP.Connector.SAPLoginProvider.GetSAPConnection(this); |