Subject Re: [ib-support] How to determine the number of users connected
Author Claudio Valderrama C.
""Leonardo Mozachi Neto"" <leonardo@...> wrote in message
news:004901c1c083$6781e7a0$19010a0a@terra...
> Delphi 5
> IB 6.01
>
> How do I know the numbers the number of users connected to a database?

You call isc_database_info() with the isc_info_user_names item (see API
Guide) and instead of showing the returned users, you simply count them. You
really are counting attachments. The same user can log on several times.

C.
--
Claudio Valderrama C. - http://www.cvalde.com - http://www.firebirdSql.org
Independent developer
Owner of the Interbase® WebRing