windows - WiseScript: Get user executing a running process -


i know logged on windows user can detected via wisescript using:

get system information, retrieve: windows logon name 

but purely in wisescript, there way user name executing running process?

there important difference here because logged on 'bob', run on mydbinterface.exe 'sally', , mydbinterface.exe must ran bob's rights.

note: i know can external c# application talks wise, rather in wise if there built in method.

you call command line tool "tasklist" username of running process, , output text file. use wisescript parse file exact username.


Comments

Popular posts from this blog

php - Why I am getting the Error "Commands out of sync; you can't run this command now" -

ruby - Nesting modules inside of a Rails eninge gem -

Eclipse formatter for java ending braces -