Hi,
I am using CQ 5.6.1 and trying to find out the API that I should use for updating user properties. I am trying to write back some properties in the preferences node of the logged in user.
I thought of using com.day.cq.security.AccountManager.updateAccount .. but it looks like the parameter needs com.day.cq.security.user.User which seems to have been deprecated,
Is there a better way to update the properties? Please provide inputs
Thanks and regards,
AJ
Solved! Go to Solution.
Views
Replies
Total Likes
Use the Jackrabbit UserManager API that is located in this Java package:
org.apache.jackrabbit.api.security.user
See this community article for information about working with this API:
Developing AEM OSGi bundles that use Jackrabbit UserManager APIs
Views
Replies
Total Likes
Use the Jackrabbit UserManager API that is located in this Java package:
org.apache.jackrabbit.api.security.user
See this community article for information about working with this API:
Developing AEM OSGi bundles that use Jackrabbit UserManager APIs
Views
Replies
Total Likes
Thanks for the response ...
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies