Employer-Employee Relationship Matters in Patent Ownership

When an employee creates an invention and later is issued a patent on that invention, does the employer get any rights to the patent? This might be a…