Login_GetInfo()

Examples


The Login_GetInfo() function returns the name of the data source, the user ID and session ID associated with the current session.

Syntax

Login_GetInfo(data_source, user_ID, session_ID)

Parameters

data_source – A returned string containing the data source the current client is logged into.

user_ID – A returned string containing the current user’s user ID.

session_ID – A returned long integer containing the session ID assigned to the current login session.

Return value

An integer corresponding to one of the following constants:

[spacer]

Constant

Description

STATUS_SUCCESS

The login information was successfully retrieved.

STATUS_NOT_LOGGED_IN

A user isn’t logged in.

STATUS_ERROR

An unknown error occurred.



Documentation Feedback