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
Post a Comment