borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder

AndreaVB | Forum | News | Downloads | Register | Help | Member List | Statistics | Search | PM | Profile

Print This Topic
Previous Topic (WebCam programming)Next Topic (plz check this subclassed command button) New Topic New Poll Post Reply
AndreaVB Forum : API : how can i get the username of the user using a process ???
Poster Message
godHimself
Level: Guest


icon how can i get the username of the user using a process ???

i am using vb6 and i need thid to run at vb6.
i need to get all process running on an NT machine and identify who is using each process.
so far i have managed to get all the running processes and process ids.
now i need to get the username of the user using each process.

after searching i found that i need to use the api functions:
OpenProcess, OpenProcessToken and GetTokenInformation,
but i dont know how to use them to get the username of the user using a process.

any ideas, links, code more than welcome!

thanx in advanced...

04-08-2004 at 02:26 PM
| Quote Reply
AndreaVB Forum : API : how can i get the username of the user using a process ???
Previous Topic (WebCam programming)Next Topic (plz check this subclassed command button) New Topic New Poll Post Reply
Surf To:


Not Logged In? Username: Password: Lost your password?
Partners: Download Actual Software | Free Software Download
borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder