posix.getlogin()

posix.getlogin() → string

Return the actual login name.