Login_ExitDataSource()

Examples


The Login_ExitDataSource() function disconnects a user from the current data source.

Syntax

Login_ExitDataSource()

Parameters

• None

Return value

An integer corresponding to one of the following constants:

[spacer]

Constant

Description

STATUS_SUCCESS

The user logout was successful.

STATUS_ERROR

An unknown error occurred.

STATUS_CANT_LOGOUT

There are still open connections associated with this user.

STATUS_NOT_LOGGED_IN

The user isn’t logged into a data source.


Comments

A user must log into a data source before his or her first connection can be established. Subsequent connections to that data source for that user are associated with the initial login. If one of those connections is being used to access a table, Dexterity won’t allow the user to log out until the table is closed and the connection is released.


Documentation Feedback