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","newpassword");
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.