Subject | Re: [ib-support] Connected users |
---|---|
Author | Sandeep |
Post date | 2002-05-15T20:40:48Z |
On 15 May 2002 at 17:01, Helen Borrie wrote:
Regards
Sandeep
Software Developer
CFL
sandeep@...
http://www.cfl.co.nz
> At 09:33 AM 15-05-02 +1200, Sandeep wrote:Thanx
> >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.
Regards
Sandeep
Software Developer
CFL
sandeep@...
http://www.cfl.co.nz