userId

const char* userId()

Returns a null terminated string containing the current userid setting for the terminal, Null if none.