Date Posted:
Product: TIBCO Spotfire®
Product: TIBCO Spotfire®
Problem:
Script to display username/user ID used to login to TIBCO Spotfire Analyst
Solution:
If you want to get the username which is used while logging into Spotfire Analyst, then follow the below resolution section.
Following are the steps to achieve it:
A) Create a document property - Prop & resize the property control according to your need.
B) Now create a button from Insert Action Control option.Create a new script & use the following script in it:-
from System import Environment
from System.Threading import Thread
Document.Properties["Prop"]=Environment.UserName
Comments
0 comments
Article is closed for comments.