Need LDAP user details in AEM JAVA service
Hi Team,
We are integrating .net code to AEM.
In .net we have a method to get logged in User Roles. They are taking the same with below lines.
WindowsPrincipal winPrincipal = (WindowsPrincipal)HttpContext.Current.User;
In AEM we tried with
UserProperties userProps = request.adaptTo(UserProperties.class);
userProps.getProperty("roles");
But it is not working, Do You have any suggestions here ?
