GMR Insight
GMR Insight

System

GMR Insight
January 06, 2018

Get user name

January 06, 2018/ Tony Alvarez

Description: Get user name.

from System import Environment, Threading 
print "User Name: " + Threading.Thread.CurrentPrincipal.Identity.Name 

Links
    API:
    Reference: https://community.tibco.com/wiki/how-fetch-logged-username-tibco-spotfire-using-ironpython-script
    Reference: http://spotfired.blogspot.com/2014/05/get-user-information-login-name-machine.html
    Reference: http://spotfired.blogspot.com/2017/02/current-user-in-webplayer.html

January 06, 2018/ Tony Alvarez/ Comment
Spotfire, IronPython, System
Environment Variables

Tony Alvarez

  • Saving and exporting
  • System

GMR Insight