IMultiDbLoginService

Overview

IMultiDbLoginService protocol is a part of Data Abstract server interface and used for user authentication. Unlike IBaseLoginService protocol there is an parameter provided to allow to specify the database connection name allowing to connect to different databases. This protocol is implemented in MultiDbLoginService_Proxy class.

Location

Required Methods


Login::::

Executes login procedure with given parameters.

- (BOOL) Login:(NSString *)aUserID :(NSString *)aPassword :(NSString *)aConnectionName :(UserInfo **)aUserInfo

Parameters:

  • aUserID: The logical user name.
  • aPassword: The password.
  • aConnectionName: Name of the connection (defined in the Schema), determines the database to connect to.
  • aUserInfo: Output parameter, the UserInfo class instance containing information about the user session established after successful login.

See Also