Skip to Content
author's profile photo Former Member
Former Member

authenticated *IUser* object

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,


Add comment
10|10000 characters needed characters exceeded

1 Answer

  • Best Answer
    Posted on May 28, 2004 at 01:36 PM

    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,


    Message was edited by: Thilo Brandt

    Add comment
    10|10000 characters needed characters exceeded