RenameNotesUser and MoveUserInHierarchyRequest

I am hoping it is just something so simple that I am missing it. The issue is that when users are changeing the name or moving from on Hierarchy to another, we are running into duplicates for the notes names. The solution was to use their short name as their personal unit.

For example, the User Name is Martha Buragas/jmb/rosie, and the user gets married so that Buragas is not Clayton. There is already a Martha Clayton /jmb/rosie, so I want the new notes id to be Martha Clayton/MarthaB/jmb/rosie. Note: MarthaB is her current short name - we always know that is unique.

The same would go for changing the Heirarchy Martha Buragas/jmb/rosie is going to Martha Buragas/mab/rosie but there is already a Martha Buragas/mab/rosie.

I tried using adminp.RenameNotesUser( WorkDoc.NotesName(0), _

	WorkDoc.LastNew(0), _

	WorkDoc.FirstNew(0), _

	WorkDoc.MiddleNew(0), _

	newCertStruct)

where newCertStruct is MarthaB/jmb/rosie, but the nab never got changed, however the code seemed to execute.

So my question is, how do I do this?

Thanks John

Subject: Sovled

Well it was that easy. You just pass the Unit in the Org Unit field. FYI: Lots of the problems that I was having was the test server did not have the proper certificates in the nab.

cheers,

John