GetWindowsUserName() As String

Application object

Returns the name of the current Windows user. Note that this is not necessarily the same as the current FORMS user.

Example

GetUserName

The Application object