02.03.2019 11:30, Mark Rotteveel wrote:

I am just wondering if the requested feature is not already present.

A quick test with isc_database_info, with SYSDBA and a normal user logged in shows:

- SYSDBA connection: only SYSDBA appears to be returned.

- User connection: only user name is returned.

According to the InterBase 6.0 API Guide, the isc_info_user_names info item is:

"""
Names of all the users currently attached to the database; for each such user, the result buffer contains an isc_info_user_names byte followed by a 1-byte length specifying the number of bytes in the user name, followed by the user name
"""

I'm not sure if that is still the case though (and it is possible it is different between SuperServer vs Classic).

It never worked as advertised in Classic.


Dmitry


Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to