Anyone had use lotus script to move users in hierarchy? we are having a strange problem with the MoveUserinHierarchyRequest method, sometime it runs ok but other time it shows Invalid NoteID in the line
NoteID$=MoveUserInHierarchyRequest(Name,NewOU)
Any Ideas?
Subject: NameMoveUserinHierarchyRequest Problem
I used this a few years ago and at the time, IBM confirmed that there was a bug in returning the noteid. This was early R6 so I don’t know if they fixed it or not.
The noteid is used to find the requested doc in Admin4 by passing it to … MoveUserInHierarchyComplete, but the request method never returned the noteid, but did create the request doc in admin4.
From what I remember, I ended up getting the noteid by finding the request doc in Admin4 by using the user name as a key in getDocumentByKey – something like that. I will look in the forums. I might have posted back then.