Use the GetOwner() method of the Win32_Process WMI class.  For sample
code in VBscript (yuck), see the "Examples" section in the MS
documentation:

  http://msdn.microsoft.com/library/en-us/wmisdk/wmi/win32_process.asp

 - Pat

"Gould, Kevin" <[EMAIL PROTECTED]> writes:

> Can anyone suggest how to get the username owning the process?  I don't
> see anything in the properties list, but Task Manager knows it. 
_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to