What he has would work, just everywhere and not only in a channel.
The $hget(table,1).item returns the item that happens to be in slot one. Hash tables are not sorted in any way. To get the info about the user,
var %user = $hget(tablename,1).item
var %info = $hget(tablename,%user)