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,

ds

Add a comment
10|10000 characters needed characters exceeded

Related questions

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,

    Thilo

    Message was edited by: Thilo Brandt

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.