Products | Versions |
---|---|
Spotfire Web Player | Spotfire Web Player version 7.11 and higher |
from System import Environment, Threading, Security Document.Properties["Debug"] ="\nSpotfire Username: " + Threading.Thread.CurrentPrincipal.Identity.Name Document.Properties["Debug"] +="\nWindows Username(Env): " + Environment.UserName Document.Properties["Debug"] +="\nWindows Username(WinIdent): " + Security.Principal.WindowsIdentity.GetCurrent().Name
With desktop/admin access, you could then execute things as this user on the Node Manager (example below).
If a service account is used, you need to download psexec from Microsoft.
If a normal account is used on the node manager, 'runas' preexisting in windows works fine.
psexec.exe -s -i cmd.exe "runas /user:gslab\pkurcman cmd"
The command "whoami" verifies the account name in the new cmd prompt:
whoami
start iexplore