java - Notes error: You are not allowed to update the certifier log while creating a new user -


i trying create new user in ibm domino v9.0. via java api , using notes.jar. ibm domino installation have made on amazon ec2-instance, , trying run java code create new user locally in ibm domino. while creating user getting following error. caused by: notesexception: notes error: not allowed update certifier log (reddy). user creating session has "manager" access on "certlog.nsf" database. code using follows

private static void recreatecreateusererror(string host, string username, string password) throws exception{     session session = notesfactory.createsession(host, username, password);     registration reg = session.createregistration();     reg.setregistrationserver(session.getservername());     reg.setcreatemaildb(true);     reg.setcertifieridfile("c:\\program files\\ibm\\domino\\data\\cert.id");     reg.setidtype(registration.id_hierarchical);     reg.setminpasswordlength(5);     reg.setregistrationlog("log.nsf");     reg.setmailinternetaddress("rajesh.parupalli@concentrix.com");     reg.setupdateaddressbook(true);     reg.setstoreidinaddressbook(true);     reg.setenforceuniqueshortname(true);     if (!reg.registernewuser("reddy", // last name             "c:\\program files\\ibm\\domino\\data\\sreddy2.id", // file created             "cn=win-3g1iclot664/o=concentrix", // mail server             "santhosh", // first name             "", // middle initial             "xxxxxx", // certifier password             "delhi", // location field             "comment", // comment field             "mail\\sreddy2.nsf", // mail file             "", // forwarding domain             "xxxxx")) // user password         throw new runtimeexception("failed register new user"); } 

please let me know missing out.

thanks vishvadeepak tewari

ensure user create session has every privilege in domino server document's security tab, e.g. access server, sign or run unrestricted methods , operations.


Comments

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -