Subject | Re: [ib-support] Connected users |
---|---|
Author | Helen Borrie |
Post date | 2002-05-15T07:01:32Z |
At 09:33 AM 15-05-02 +1200, Sandeep wrote:
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/
_______________________________________________________
>Is there anyway of knowing how many users are connected to theYou are using IBO, aren't you? The IB_Connection has a stringlist property
>server?
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/
_______________________________________________________