Connects to the server.


Namespace: Economic.Api
Assembly: Economic.Api (in Economic.Api.dll)

Syntax

Visual Basic (Declaration)
Public Function ConnectAsAdministrator( _ 
   ByVal adminAgreementNo As Integer,  _ 
   ByVal adminUserID As String,  _ 
   ByVal adminUserPassword As String,  _ 
   ByVal clientAgreementNo As Integer _ 
) As String _
    Implements ISession.ConnectAsAdministrator
C#
public string ConnectAsAdministrator(
   int adminAgreementNo,
   string adminUserID,
   string adminUserPassword,
   int clientAgreementNo
)
C++
public:
 String ConnectAsAdministrator(
   int adminAgreementNo,
   String adminUserID,
   String adminUserPassword,
   int clientAgreementNo
) sealed 
J#
public string ConnectAsAdministrator(
   int adminAgreementNo,
   string adminUserID,
   string adminUserPassword,
   int clientAgreementNo
)
JScript
public  function ConnectAsAdministrator(
   adminAgreementNo : int,
   adminUserID : String,
   adminUserPassword : String,
   clientAgreementNo : int
) : String

Parameters

adminAgreementNo
The agreement number for the subscription.
adminUserID
The user name of the subscription.
adminUserPassword
The password for the user name.
clientAgreementNo
The agreement number for the client.

Return Value

The session id if the session has been connected.

Implements

ISession.ConnectAsAdministrator

Remarks

An exception will be thrown if the given credentials is not correct.

See Also