GetUserName() As String

Application object

Returns the name of the current FORMS user. Normally used in the AppUserLoggedIn event to confirm that a user is authorized to use the application.

GetWindowsUserName

SetUserName

The Application object