Jump to content

Is there a way to get the name of the logged user in a web environment with automatic updates scheduled


Joy Carvalho

Recommended Posts

Hello Joyce,

You can use below IronPython Script that gets username in Doucment Property when the user logs in.

from System import Environment, Threading

Document.Properties["user"] = Threading.Thread.CurrentPrincipal.Identity.NameAlso, you can trigger IronPython automatically using Data Functions. You can skip the method of manually loading the script using click events. The below article guides you on creating and setting data functions that will trigger the Ironpython execution:

https://support.tibco.com/s/article/Tibco-KnowledgeArticle-Article-44163

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...