BaseContext :: userName - Get user name from application
The function returns the name of the user registers as active user for the process or thread. In order to provide an application specific user name, the function might be overloaded in the assigned application context ( Application ::context( sUserName ) ).
When the context handle does not refer to a valid context instance the function throws an exception.
Return value: User name ( odaba::String & )
The user name is the user's login name. In order not to pass any user name, an empty string ( String() ) may be passed.