Hi all

In Magnolia 4.4.9 I'm using the observation module to trigger a command of 
mine. The command is triggered whenever something happens in the website repo, 
like edit a page or create a new page/paragraph.

My question is: When the command executes I get a context in the execute() 
method but this context seems to be the system context, so I'm not able to use 
getUser() on it, because it obviously always returns the system user 
"superuser".

Do you know how I can get the user object of the user which triggered the 
command?

Thanks in advance.

-- 
Context is everything: 
http://forum.magnolia-cms.com/forum/thread.html?threadId=45798352-b9e3-41f8-beee-88e871fbae41


----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to