CTSession::Logon
Syntax
void Logon (const CTString& dbEngine=ctdbDEFAULT_dbengine,
const CTString& user=ctdbDEFAULT_userid,
const CTString& password=ctdbDEFAULT_userword)
Parameters
Description
Logs on to a c-tree Server, or a c-tree instance, session. A logon is necessary to work with the databases. After a session is logged on, its status is active.
Return
None.
Example
pSession->Logon("FAIRCOMS", "ADMIN", "ADMIN");
See also
Logout(), IsActive()