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

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -