Re: how to detect the currently logged in Windows user?

Ron Gula <[email protected]>
Newsgroups gmane.comp.security.nessus.general
Message-ID <[email protected]>
Hi Jason,

Using "My Documents" to list users is a good way and it should work
for most organizations, although I can see in some environments
where this would not work well.

I have to apologize for the WMI concept though -- if you follow
what I suggested you'll get user info for the account you are logging
in as, not the user who is logged into the computer.

Ron Gula
_______________________________________________
Nessus mailing list
[email protected]
http://mail.nessus.org/mailman/listinfo/nessus
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.