Issue
How can I get windows login name? I need to print to db 'machine name' ( ${__machineName} ) and 'user name'. Is there a way to get current user name?
Thanks,
Solution
OK, so I found a way to do it.
I added JSR223 with the Java language and printed the following command:
log.info(System.getProperty("user.name"))
Answered By - Dotan Answer Checked By - Clifford M. (PHPFixing Volunteer)
0 Comments:
Post a Comment
Note: Only a member of this blog may post a comment.