Error using RenameWebUser

I have a WebQuerySave agent which is supposed to create an AdminP RenameWebUser request.

I am using the line:

strNoteID = adminp.RenameWebUser(nmOld.Abbreviated, nmNew.Abbreviated, strLastName, strFirstName)

This produces the error:

ERROR 4000: Notes error: User name not found in Domino Directory

I have tried this on several users and always get the error. These users all exist in the NAB.

What am I doing wrong ???

TIA,

Mark.

Subject: Error using RenameWebUser - Solution

This error occurs if the user you are trying to rename is a Notes user ie if they have a certificate. You need to use the RenameNotesUser method.