company logo

Application :: userName - Get system login name

The function returns the system login name.

Return value:  Name ( odaba::String & )

Implementation details

odaba::String Application  :: userName (  )

When the operating system had required a user login, the function returns the current user name. The user name may also be explicitly defined by setting the option variable _USER_NAME. When no user name is available, the function returns an empty string.