Hi,

I'm trying to determine the user name that's associated with a win32process. 
I've got the process info like this:

for process in win32process.EnumProcesses()
        handle = win32api.OpenProcess(win32con.PROCESS_QUERY_INFORMATION, 0, 
process)

How do I then determine the username for each process?

Thanks, Tom

---------------------------------------

Tom Haddon
Equilar, Inc.
1710 South Amphlett Boulevard
Suite 312
San Mateo, CA 94402
650-286-4528 (phone)
650-286-4513 (fax)
[EMAIL PROTECTED]

CONFIDENTIALITY NOTICE: 
This is a transmission from Equilar, Inc. and may contain information which is 
confidential and proprietary.  If you are not the addressee, any disclosure, 
copying or distribution or use of the contents of this message is expressly 
prohibited.  If you have received this transmission in error, please destroy it 
and notify us immediately at 650-286-4512.  Internet and e-mail communications 
are Equilar's property and Equilar reserves the right to retrieve and read any 
message created, sent and received. 

_______________________________________________
Python-win32 mailing list
Python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to