Quantcast
Channel: SCN : Popular Discussions - SAP Enterprise Portal: Content Management and Collaboration
Viewing all articles
Browse latest Browse all 1826

Logon an User programatically

$
0
0

Hello,

 

i want to achieve within KM-Coding to get a resource with the context of a different user, than the one logged in. Step one is create an IUser user then:

 

ctx.setUser(user);
res = ResourceFactory.getInstance().getResource(rid, ctx);

The problem is that for some properties i need an authenticated IUser object. Is there a way to achieve this within KM?

 

regards,

Marco


Viewing all articles
Browse latest Browse all 1826

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>