| NAnt  Help  Function Reference  environment::get-user-name | v0.92-rc1 | 
[This is preliminary documentation and subject to change.]
Gets the user name of the person who started the current thread.
string environment::get-user-name()
            
    
    Modify the home directory of the current user on unix-based systems.
<exec program="usermod">
    <arg value="-d" />
    <arg value="/home/temp" />
    <arg value="${environment::get-user-name()}" />
</exec>