Level 1
Level 2
Sign in to Community
Learn more
Sign in to view all badges
Expand my Community achievements bar.
How can i get email address from the userid/Authorizable as in CQ 5.5 Profile class is Deprecated
Environment CQ 5.5, Linux
Solved! Go to Solution.
use com.adobe.granite.security.user.UserProperties instead. e.g.
UserProperties u = resourceResolver.adaptTo(UserProperties.class);
String email = u.getProperty(UserProperties.EMAIL);
View solution in original post
Views
Likes
Replies
Like