The 5V header pin can supply ~800mA less whatever the Arduino board itself is using. 800mA is the limit of the regulator, and may be less if Vin is high, like 12V, and the regulator overheats and goes into thermal shutdown.
All the ground pins on the headers are connected via the ground planes to barrel jack ground pin.