GLib.get_real_name
function get_real_name(): String { // Gjs wrapper for g_get_real_name() }
Gets the real name of the user. This usually comes from the user's entry in the `passwd` file. The encoding of the returned string is system-defined. (On Windows, it is, however, always UTF-8.) If the real user name cannot be determined, the string "Unknown" is returned.
- Returns
the user's real name.