I want to update user kindly refer me some sample code to update user like username and email address for user.
Note: I am using below code.
UserManager userManager = ComponentAccessor.getComponent(UserManager.class); ApplicationUser applicationUser= userManager.getUserByKey(employeeDTO.getUserKey()); userManager.updateUser(applicationUser);
Here how to set the values in application user as there is no setter method. Please can you guide me to update username and email in user.