Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

How can i get user name in talend

Hi

How can i get user name in talend. I want to get the user who ran the job. If i am running in linux server, i want to capture USER environment variable. If i am running in windows i want to know which user i am logged in and running the job.

Thanks

Saswata

Labels (2)
1 Solution

Accepted Solutions
TRF
Champion II
Champion II

For both, use System.getProperty("user.name")

View solution in original post

4 Replies
manodwhb
Champion II
Champion II

You can use System.getenv() get the username which is there in environment variable.
TRF
Champion II
Champion II

For both, use System.getProperty("user.name")
Anonymous
Not applicable
Author

Thank you everyone for responding

TRF
Champion II
Champion II

Thanks for Kudo.
Don't forget to mark your case as solved.