Users can choose a lab when logging in

In the User form, you can assign more than one lab code. You can assign the same role to each lab code or you can assign different roles to each lab code.

The user can specify the lab and group in the Choose Lab dialog.

See Defining user and role relationships.