environment::get-user-name

Gets the user name of the person who started the current thread.

Usage

string environment::get-user-name()

Return Value

The name of the person logged on to the system who started the current thread.

Examples

Requirements

Assembly: NAnt.Core (0.92.4543.0)