Hi all,
I am new to Lotus Domino 6.5.4. I need help as I want to change Lotus Domino user’s password programmatically using Java. I tried the following but I am unable to access HTTPPassword field with document object. Kindly let me know if I am doing something wrong here. Below is the my code snippet:-
Session ss = NotesFactory.createSession();
Database dd = ss.getDatabase("abc.xyz.com:63148","names.nsf");
View dv = dd.getView("($Users)");
Document doc = (Document) dv.getAllDocumentsByKey("testuser", true);
doc.HTTPPassword = "newpassword"; // Not working.. :-(
Looking for quick response on this issue. Any pointers on above issue will be highly appreciated.
Thanks & regards,
Sachin