Hi
hier der code
reg.CertifierIDFile =certidpath
reg.CreateMailDb = True
reg.GroupList=grouplist
reg.IDType = ID_HIERARCHICAL
reg.MailACLManager="Jimmy Yip/AceHardwareCertifier""
reg.MailOwnerAccess=0
reg.MailSystem=0
reg.MailTemplateName="mail6.ntf"
reg.MinPasswordLength = 5
reg.RegistrationLog = logfile
reg.RegistrationServer =registrationserver(0)
reg.StoreIDInAddressBook=True
reg.UpdateAddressBook = True
cpassword=uiws.Prompt(10,"Please enter password","Please enter password for wpsaix")
Call reg.RegisterNewUser(lastname,_
idfile, mailserver(0),firstname(0)," ",cpassword,_
"","",mailfilename,"",upassword,NOTES_LIMITED_CLIENT)