LOTUSSCRIPT/COM/OLE CLASSES
Sub Initialize Dim session As New NotesSession Dim adminp As NotesAdministrationProcess Set adminp = _ session.CreateAdministrationProcess("myServer/Northeast") noteid$ = adminp.RenameNotesUser("CN=Mary A Jones/O=Northeast", _ "CN="Mary A Newlywed/O=Northeast", "Newlywed") If noteid$<> "" Then Dim db As New NotesDatabase("myServer/Northeast", "admin4.nsf") Dim ws As New NotesUIWorkspace Call ws.EditDocument(False, db.GetDocumentByID(noteid$)) End If End Sub
See Also