You have got the wrong syntax of odoo’s search method do it like this,
employees = self.env['hr.employee'].search([('user_id','in', user_ids)])
Missing part from your syntax: round braces around your domain.
CLICK HERE to find out more related problems solutions.