Tip

Register New User, Userid, Mailfile through Lotus Script without Domino Administrator

We can Register New user, and move User id to coressponding directory without using the Domino Administrator.


Dim reg As New NotesRegistration
reg.CreateMailDB = True
reg.CertifierIDFile = "c:lotusnotescert.ID" 'Path of the Cert id.
reg.Expiration = Today + 1095
reg.OrgUnit = "Test"
reg.UpdateAddressbook = True
reg.StoreIDInAddressbook = True or false

Call reg.RegisterNewUser( lastname$, idfile$, regserver$   [, firstname$ , middle$ , certpw$ [, location$ [, comment$ [, maildbpath$ , userpw$ )

'To get id file from the Server to your specified directory.

Dim reg As New NotesRegistration
Dim session As New NotesSession
Dim db As NotesDatabase
Setdb = session.CurrentDatabase
reg.RegistrationServer = db.Server  ' if you didn't set this property you get error.
username$ = "Anitha/Test/Test2"
filepath$ = "c:notesdatanewfile.id" 'Where you want to store your file.
isserverid = True
Call reg.GetIDFromServer( username$, filepath$, isserverid))

This was first published in August 2002

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

Disclaimer: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.