Subject Re: [Firebird-Java] Re: FBUserManager
Author Roman Rokytskyy
> I have added the new constructors.


> The FBDatabaseMetaData class does not need to be extended as it already
> contains a getUserName call.

I think this is not what was asked. The call above returns the name of the
currently connected user that own the connection (namely the
isc_dpb_user_name parameter). The GDS.iscDatabaseInfo() call can provide a
list of _all_ users that are connected to the current database. Please see
the ISCConstants.isc_info_user_names constant.

This call requires extension of the FirebirdDatabaseMetaData interface,
something like "Collection getConnectedUsers() throws SQLException".
Alternatively, in order to remain consistent with the DatabaseMetaData
interface, we may return ResultSet with single column USER.