Registration Class and Unique Mail File Name

I have an agent that pulls data from the corporate HR system every night and automatically creates Notes User accounts for new employees.

I use the $Users view to make sure that the user’s Full Name and NotesName are unique. I’d like to be able to ensure the mail DB file name is unique before I register the user.

Is there an existing view in the NAB where I can search by mail file name? Does anyone know how Domino checks for unique mail file names?

Thanks in advance,

Jeff

Subject: Registration Class and Unique Mail File Name

If you want to check for unique mail file names, you should check the mail file folder on the domino server. There might be remaining files belonging to deleted users left there.

Calculate how you want to name the mail file, and use NotesDatabase.Open to see if it is there. If it is, change the file name and try again.

/Peter

Subject: RE: Registration Class and Unique Mail File Name

Thanks,

That sounds perfect!

Jeff