const char * myqtt_conn_get_username ( MyQttConn conn)

Allows to get the username used during CONNECT phase on the provided connection.

connThe connection where the operation takes place.
The username used or NULL if the CONNECT phase didn't provide a username. The function also reports NULL when conn reference received is NULL.