In my Magento installation there is an extension that adds a "created_by" field to my products.
In the code of this extension I see that it does this with Mage::getSingleton( 'admin/session' )->getUser().
However, I create some products using REST, and than the Mage::getSingleton( 'admin/session' )->getUser() does not work since there is no admin/session I assume.
Can anybody help me out? Is there some way I could do it like this: Mage::getSingleton( 'REST/session' )->getUser()?