How to get currently logged user name using UiPath (Windows OS )

hi @Akhil_Raveendran

you can use system.Environment.UserName to get the UserName and system.Environment.UserDomainName to get the DomainName.

Hope that helps.

23 Likes