Change User Password
To change the password for a user.
NAESession session = NAESession.getSession("username", "password".toCharArray());
NAEAdminRequestProcessor processor= new NAEAdminRequestProcessor(session);
boolean response=processor.changePassword("user1","User@123");
NAESession session = NAESession.getSession("adminUser","adminPassword".toCharArray());
To update the password changing permissions:
NAEAdminRequestProcessor processor = new NAEAdminRequestProcessor(session);
boolean response=processor.changePassword("user1", "password",true);
Here, the third parameter represents modifyUserInfo
permission.