NotesAdministrationClass

I tried to rename a user using the renameNotesUser Method in NotesAdministrationProcess - Class

But everytime i start my LotusScript out of my NotesClient on Win2k, I get the error “user not found in Domino Directory”

When I open “names.nsf” on the Server (R6 on Linux) I find the user in the people - view.

I tried to copy the user to my local names.nsf to find out, if the process acts only on the local names.nsf, but it did not work either.

Anyone any ideas?

That´s, how i did it:

Dim adminp As NotesAdministrationProcess

Set adminp = session.CreateAdministrationProces(setupDoc.regServer(0))

adminp.CertifierFile = setupDoc.certIDFile(0)

adminp.CertifierPassword = setupDoc.certPWD(0)

noteid$ = adminp.RenameNotesUse(“CN=firstname09 lastname09/OU=Standort01/Bereich01/O=UnixTestingDevelopment”,“lastname10”)

Subject: NotesAdministrationClass

Hi,First your code is weird ! like missing some letters (i.e. Missing the final “r” at “RenameNotesUser” ), please post whole code next time …

by the way, try to add “OU=” in the username between “Standort01/” and “Bereich01” :

CN=firstname09 lastname09/OU=Standort01/OU=Bereich01/O=UnixTestingDevelopment

I just test with 6.0.1 and it works fine …

Subject: RE: NotesAdministrationClass

First of all, Thanks for your help!

Here is the code, as i tried it:

Dim adminp As NotesAdministrationProcess

Set adminp = session.CreateAdministrationProcess(setupDoc.regServer(0))

adminp.CertifierFile = setupDoc.certIDFile(0)

adminp.CertifierPassword = setupDoc.certPWD(0)

noteid$ = adminp.RenameNotesUser(“Vorname09 Nachname09”,“Nachname10”)

I tried almost every combination of OUs, Os and CNs, I could think of, but that did not work.

The thing is, that the system will work on R6 on Solaris. I have to use the existing installation.

I tried it with your version, but that did not work either.

TIA