On 2/28/19 1:46 PM, Adriano dos Santos Fernandes wrote:
On 28/02/2019 05:30, Kovalenko Dmitry wrote:
select current_user from rdb$database
Usage of similar queries is not good idea for connection provider.
It is problem to added new info-tags (current_user and, may be,
current_role) for isc_database_info in FB3.0.5?
From my side I will added the special support for these new tags into my
provider.
Who pass the user is who connects, so you should already known it at
client side.
Server may contain various mapping rules which can easily cause
current_user != passed login. The value of current_role which also
depends upon mapping is interesting for the same reason.
Can you explain - what a problem with use of SQL to get that data?
Firebird-Devel mailing list, web interface at
https://lists.sourceforge.net/lists/listinfo/firebird-devel