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

This tip describes registering New User, Userid, Mailfile through Lotus Script without the 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

Dig deeper on Domino Resources - Part 6

0 comments

Oldest 

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:

SearchWinIT

Search400

  • iSeries tutorials

    Search400.com's tutorials provide in-depth information on the iSeries. Our iSeries tutorials address areas you need to know about...

  • V6R1 upgrade planning checklist

    When upgrading to V6R1, make sure your software will be supported, your programs will function and the correct PTFs have been ...

  • Connecting multiple iSeries systems through DDM

    Working with databases over multiple iSeries systems can be simple when remotely connecting logical partitions with distributed ...

SearchEnterpriseLinux

SearchVirtualDataCentre.co.uk

Close