Originally Posted by wideman
All that aside, I would be very surprised if your local code prohibits grounded electric outlets (those are the ones with the "test" and "reset" buttons) near water sources.
Just a technical clarification: the third contact on any three-prong outlet is "grounded." The sort of outlet that you describe is additionally protected by a "ground fault circuit interrupter" (GFCI) that trips when the return path for the electrical current is not back through the outlet.