(PHP 4 >= 4.1.0, PHP 5 <= 5.0.4)
ircg_get_username() returns the username for the specified connection connection.
connection
A connection resource handle returned by ircg_pconnect().
Returns the username, or FALSE on error.