Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Forcing another user's login from a portal component

Hi all,

I will explain my requirement. I have a userid 'a' used to perform certain operations on the portal. For administrative purposes only this user is authorized to perform these operations and no one else. What I want is to be able to perform these operations from a portal component which will be run by another user 'b'.

I tried the method: UMFactory.getAuthenticator().forceLoggedInUser(req,resp); by settings the id and password of user 'a' in the request object. But the returned IUser object was that of 'b' instead of 'a'.

Am I missing something? Is there any other way to get this functionality?

Thanks in advance.



Former Member
Not what you were looking for? View more on this topic or Ask a question