get_user_name
Description:
Get the current user name.
It is determined by:
getlogin
- Environment variable SUDO_USER
- Environment variable USERHELPER_UID
- Environment variable USERNAME
- Environment variable LOGNAME
- Environment variable USER
- Environment variable LNAME
Returns:
A newly allocated string that stores current user name. |
Namespace: IBus
Package: ibus-1.0