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
- Reference: RemObjects.DataAbstract.dll
- Namespace: RemObjects.DataAbstract.Server
- Ancestry: IMultiDbLoginService
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.
-
IMultiDbLoginService Interface
- .NET
- Delphi