Postgres::getUser PHP Method

getUser() public method

Returns information about a single user
public getUser ( $username ) : The
$username The username of the user to retrieve
return The user's data
    function getUser($username)
    {
        $this->clean($username);
        $sql = "SELECT usename, usesuper, usecreatedb, valuntil AS useexpires, useconfig\n\t\t\tFROM pg_user \n\t\t\tWHERE usename='{$username}'";
        return $this->selectSet($sql);
    }
Postgres