Package: glib

Function g-user-name

Lambda List

g-user-name ()

Return Value

A string with the user name of the current user.

Details

Gets the user name of the current user. The encoding of the returned string is system-defined. On UNIX, it might be the preferred file name encoding, or something else, and there is no guarantee that it is even consistent on a machine. On Windows, it is always UTF-8.

Example

(g-user-name) => "dieter"    
 

See also

2020-10-24