Product Documentation

c-treeDB API for C++ - Developers Guide

Previous Topic

Next Topic

CTSession::Logon

Syntax

void Logon (const CTString& dbEngine=ctdbDEFAULT_dbengine,

const CTString& user=ctdbDEFAULT_userid,

const CTString& password=ctdbDEFAULT_userword)

Parameters

  • dbEngine: The server or c-tree Plus instance name (default is "FAIRCOMS")
  • user: The user name (default is " ")
  • password: The user password (default is " ")

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()

TOCIndex