getSignOnUsage

getSignOnUsage(): Integer;

The getSignOnUsage method of the Process class returns the way in which a currently logged on user signed on to JADE (for example, call this method, for example, when standard security is handled by the JADE start-up form of your application and you want to validate users who sign on to the JADE system from ODBC).

This method returns one of the Process class constants listed in the following table.

Class Constant Integer Value Signed on…
SignOn_Usage_NoAudit 2 In NoAudit mode
SignOn_Usage_OdbcLogin 3 As a JADE ODBC driver
SignOn_Usage_ReadOnly 1 In ReadOnly mode
SignOn_Usage_Update 0 In Update mode

When the current log-in is an ODBC log-in, the database mode is read-only.