Dear all,
i have the next question: in KM if i want to create a resource in the context of some other user (not the one who is currently loged on to the portal), how can i get an authenticated IUser object to suply for <code>new ResourceContext(IUser)</code>? (under authenticated i mean <code>IUser.isAuthenticated()</code> returns true)
It should be done with UMFactory I guess, but i could not see it through in javadoc. so, sorry if it is doble posting in this way. thanks for you help.
all the best,
ds
Hi Dimitry,
there is currentyl no released API to create content for another user context. The only way you can handle this, is to store the creation user-id in a custom property and appliing a property filter for read if the created by property is requested by KM. The property filter has to replace the system created by property by your custom created by property.
Best regards,
Thilo
Message was edited by: Thilo Brandt
Add a comment