See FAQ #7896
>Hello,
>
>At any given time, I need to know how many users have logged in to the system.
>
>I got an exe which everybody executes to run the system over the network. To check how many people are accessing the system, I think checking how many people are accessing this exe will do.
>
>Is there any Windows API that could use for this purpose.
>
>I do not like to do a manual operation by monitoring the logins or logouts.
>
>Any help would be much appreciated.
>
>Regards,
>Deva