portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <anand.kulka...@e-zest.net>
Subject UserManager in JetSpeed-2
Date Thu, 01 Jan 1970 00:00:00 GMT
Hi,

I want to access the UserManager inside a portlet class using JS-2. I wrote the 
following code:

UserManager    userManager = (UserManager)getPortletContext().getAttribute("cps:
UserManager");

Actually, I found this code in the JS-2 samples. I am not getting from where 
the attribute "cps:UserManager" is coming. If I run the above code I receive 
userManager as null.

Can you please guide me about getting UserManager in JS-2?

Thanks.
regards,

Anand



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message