For this you would need to use a where clause in the recordset. More details on the SQL Where clause can be found here:
http://www.w3schools.com/sql/sql_where.asp
SELECT FROM table name WHERE UserID <> ""
would be a where clause to return records if the User ID column in the table is NOT EQUAL to a blank value