How to dpm() an object value?
You would use:

dpm($form['#node']-&gt;uid);


As you rightly say the #node variable is an object, and object properties in PHP are accessed using the -&gt; operator. 

Have a peek at the PHP Objects documentation for a few more details.