PDA

View Full Version : Checking for logged on user


spark
08-22-2004, 07:27 PM
I was wondering whether it's possible to tell whether a user is logged in to a Windows 2000 workstation? (I don't need the username, just whether or not someone is logged in).

I've tryed using Win32::NetAdmin LoggedOnUsers(server, userRef) but it seems to return all users who've logged in since the last boot (and not just the currently logged in users).

Any help would be greatly appriciated :)


PS: This is my first post, so please be gentle...