UserName

Public Function UserName(Optional ByVal SuppressDomainName As Boolean = False) As String

Returns the user name in the operating system of the user running the current process.

SendDebug $"You are logged in as{UserName()}"

See also: