[code]myNewUser = MgnlContext.doInSystemContext(new Op<User,
RuntimeException>() {
public User exec() {
// your code belongs here
}
}[/code]
(writing this from top of my head so syntax might be slightly off)
HTH,
Jan
--
Context is everything:
http://forum.magnolia-cms.com/forum/thread.html?threadId=8a808b5f-a23d-4fad-8ceb-88591de5990b
----------------------------------------------------------------
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]>
----------------------------------------------------------------