Subject Re: [ib-support] Connected users
Author Helen Borrie
At 09:33 AM 15-05-02 +1200, Sandeep wrote:
>Is there anyway of knowing how many users are connected to the
>server?

You are using IBO, aren't you? The IB_Connection has a stringlist property
Users - lists all connected users by username.

var
usercount: integer;

if ib_connection1.connected then
usercount := ib_connection1.users.count;

If you are using a TIBODatabase then it has this property too.

Helen



All for Open and Open for All
Firebird Open SQL Database · http://firebirdsql.org ·
http://users.tpg.com.au/helebor/
_______________________________________________________