Logged in Users

How can I check who is logged into a network? Would it be possible to give a range of IP addresses, and search for logged in users from that? The reason I ask is that I want to create a program that will show who is logged in, so that other people can see if they are available or not.

Any help would be good cos I'm completely stuck!
evsterAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
evsterAuthor Commented:
Cheers EDDYKT, that looks great. Do you know a way of specifying which users to display, maybe by detailing the domain name, computer name, workstation name, server name, IP address, area, or something like that?

When I launch that VB program it lists all the users across the domain, which is pretty massive, and I'd like to be able to restrict the search.

If you can sort this the 250 is yours...
EDDYKTCommented:
I don't think you can sort this, because you don't know where the user login.

The example shows you how to do in general so that when the call comes back, you can check the domain and user name before display on the screen
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic Classic

From novice to tech pro — start learning today.