Hi
I’m facing a problem with the RegisterNewUser method. My script generate this error :
Agent ‘Test’ error: Notes error: You are not authorized to perform that operation ()
This error is strange because all works fine, the person document and his database are created. The only thing witch is not is the person document in the certlog database…
The agent is schedule and signed by the administration server id.
All works well if i execute this agent localy with my id.
Any ideas ?
Julien
A part of my script :
Call reg.RegisterNewUser(doc.Noteslname(0), _ ’ last name
"c:" & "\" & "E" & doc.EmpNo_Notes(0) & ".id", _ ' file to be created
doc.MailServer(0), _ ' mail server
doc.Notesfname(0), _ ' first name
"", _ ' middle initial
applPrf.GVACertIDPassword(0), _ ' certifier password
"", _ ' location field
"", _ ' comment field
"mail\E" & doc.EmpNo_Notes(0) & ".nsf", _ ' mail file
"", _ ' forwarding domain
usrPswddoc.Password(0), _ ' user password
NOTES_FULL_CLIENT) ' user type