You can access the Environment Built-in variable UserName.
The list of Built-in variable can be found in UFT > File > Settings > Environment > Variable Type > Built-in.
Also how to use the Environment Object can be found at Unified Functional Testing Object Model Reference > [Environment Object](https://admhelp.microfocus.com/uft/en/14.02/UFT_Help/Subsystems/FunctionReference/Subsystems/OMRHelp/OMRHelp.htm#OV_Supp_Util/Parameterization_Environment.htm)
**If this answers your question or is best answer please click the accept link below to help others looking for answers.**