Skip to main content

The value of device can be got by system variable $System:Machine$, but for username, what’s the variable name?

Hi @Vicky1989 ,

Please use the below variable for get the system username,

$SystemVariablesPackage:UserName$


 

it shown ‘invalid expresion’


Try using it like this

 


Try using it like this

 

this is the username that login in to control room and run bots, what I want to get is the username that login in to bot running device. now I have a better way to achieve it. Use action ‘System: Get environment variable’ and then assign to a custom variable.

 


Reply