CasewareDocs

UserName

Returns the Windows user name of the user who created the task.

This is used for logging purposes.

Compatibility

Available as of IDEA version 9.0

Syntax

UserName

Type

String

Example

Sub Main 
'Log information
SmartContext.Log.LogMessage("User Name: " & SmartContext.UserName)
End Sub