IMultiDbLoginService

Overview

The IMultiDbLoginService interface represents a Remoting SDK service that can be used to perform user authentication. Unlike the ISimpleLoginService interface, a parameter is provided to specify the database connection name thus allowing to connect to different databases.

Location


Required Methods


Login

This method performs user authentication based on the provided credentials. It returns true if the user was successully authenticated and false otherwise.

 

method Login(aUserID: String; aPassword: String; aConnectionName: String; out aUserInfo: UserInfo): Boolean

 

Boolean Login(String aUserID, String aPassword, String aConnectionName, out UserInfo aUserInfo)

 

Function Login(aUserID As String, aPassword As String, aConnectionName As String, <OutAttribute> ByRef aUserInfo As UserInfo) As Boolean

Parameters:

  • aUserID: User name
  • aPassword: User password
  • aConnectionName: Name of the connection (defined in the Schema). Determines the database to connect to.
  • aUserInfo: Variable of UserInfo type that contains additional information about the logged in user.

LoginEx    (declared in IBaseLoginService)

Provides the actual login procedure.

 

method LoginEx(aLoginString: String): Boolean

 

Boolean LoginEx(String aLoginString)

 

Function LoginEx(aLoginString As String) As Boolean

Parameters:

  • aLoginString: String that contains the connection name, user name and password

Logout    (declared in IBaseLoginService)

Provides the actual logout procedure.

 

method Logout

 

void Logout()

 

Sub Logout()

 

  • IMultiDbLoginService Interface