How to get the current logged in Windows User from MSBuild

Viewed 3241

How can we get the current logged-in windows user from Msbuild? Is there a similar way to get it, just as we can do with Nant with the environment::get-user-name() function?

3 Answers
Related