Hi, all
I am using the following code to get a UserManager instance in my portlet
application:

UserManager userManager = (UserManager) getPortletContext().getAttribute(
                CommonPortletServices.CPS_USER_MANAGER_COMPONENT);

But the return value is null. What is the possible reason?

Thanks.

Reply via email to