Logging on to a database
About this task
To protect your databases from unauthorized users, HCL Compass requires that you log on to a database before accessing its records. For hooks, this user authentication is handled automatically by the HCL Compass client application. However, external applications must log on programmatically by using the Session object.
Procedure
To determine which database to log on to, and to perform
the log on, follow these steps:
Results
Note: If your external application
uses Session methods, the general rule is to call UserLogon before
calling other Session methods. However, there are Session methods
that you can call before calling UserLogon such
as
GetAccessibleDatabases
and OutputDebugString
.