Subject | Re[2]: [firebird-support] Get a list of users attached to certain database |
---|---|
Author | Pavel Menshchikov |
Post date | 2006-03-31T15:32:39Z |
Hello Stefan,
SH> by:
SH> - connecting to the database in question
SH> - reading the IB_Connection.Users TStrings instance
SH> When IbObjects can do it, others can do that, too.
FIB+ has the similar list (FIBDatabase.UserNames). But it works for
SuperServer, not for Classic (for Classic the list has the current
user name only, I guess).
--
Best regards,
Pavel Menshchikov
http://www.ls-software.com
>> How Can I get from code a list of users attached to a specific DB?SH> I don't know FIB+. But when you use IbObjects, you can get that list
>> If it helps. I'm using Delphi and FIB+.
SH> by:
SH> - connecting to the database in question
SH> - reading the IB_Connection.Users TStrings instance
SH> When IbObjects can do it, others can do that, too.
FIB+ has the similar list (FIBDatabase.UserNames). But it works for
SuperServer, not for Classic (for Classic the list has the current
user name only, I guess).
--
Best regards,
Pavel Menshchikov
http://www.ls-software.com