Advertising banner:

History
 
 Error.User
Home • Help • A0 • Customization Tools • FCAS • Language Reference • Error.User
 
User (error handling)
Purpose
Returns the user logged in at the time of the error as a string.
Syntax
Err.User
Example
Sub Main()
Dim f as File
On Error Goto ErrHandler:
f.OpenFile ("NonExistentFile", fcRead)
Debug "OpenFile success"
Exit Sub
ErrHandler:
Debug "User:" & Err.User
If Err.Number = 104 Then
  Debug "OpenFile failed"
Else
  Err.Raise
End If
End Sub