get_real_name


Description:

[ CCode ( cname = "g_get_real_name" ) ]
public unowned string 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.


Namespace: GLib.Environment
Package: glib-2.0