company logo

CTX_DataBase :: ExecLogin - Execute login function

The action is called when opening a database in order to verify user's login data. The default implementation requests the user name and password.

The action can be implemented as function in the database context class in order to provide login procedures for console applications. The function will be call from the CTX_Database::Login() function, which should be called in the DBOpen() handler of the database context class.

The property handle passed to the function is usually the property handle for the ADM_User extent, but depending on specific login requirements, any other property handle can be passed when calling Login().

Return value:  Success ( logical  )

Implementation details

logical CTX_DataBase  :: ExecLogin ( PropertyHandle *prophdl )
  • prophdl - Pointer to roperty handle