title: Magento - Determine if order was placed through admin
body: <p>I was wondering if there was anyway of determining whether an order was placed via the website or through the admin backend (by an admin user)? </p>
  
  <p>And also (optionally) the logged in admin users name that placed the order?</p>
  
  <p>Something like:</p>
  
  <pre><code>$orderId = 100000010;
  $order = Mage::getModel('sales/order')-&gt;loadByIncrementId($orderId);
  $location = $order-&gt;getWhereTheOrderWasPlaced();
  $userThatDidTheOrder = $order-&gt;getUserThatDidTheOrder();
  </code></pre>
  
  <p>I've done a get_class_methods() call on the order $object but nothing jumps out at me.</p>
  
  <p>Thanks!</p>