Manage Learn to apply best practices and optimize your operations.

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))

Dig Deeper on Domino Resources - Part 6

SearchWindowsServer

Search400

  • Favorite iSeries cheat sheets

    Here you'll find a collection of valuable cheat sheets gathered from across the iSeries/Search400.com community. These cheat ...

  • HTML cheat sheet

    This is a really cool cheat sheet if you're looking to learn more about HTML. You'll find just about everything you every wanted ...

  • Carol Woodbury: Security

    Carol Woodbury

SearchDataCenter

SearchContentManagement

Close