Shridhar Padala 9.Jun.10 10:04 PM a Web browser Oracle Applications ConnectorOracle Applications Connector - All ReleasesAll Platforms
1) What is the issue?
The issue here is that the rename user functionality performed by connector for "Short Name" and "Internet Address" is not reflecting the same behavior as it behaves when done from Lotus Notes Domino client. Some insight into this functionality in Lotus Notes would help understanding the issue and diff between connector and lotus domino client
Updating a user account from Lotus Notes Domino client
------------------------------------------------------------
There are two ways one can update a user account attributes
I) Using Rename User functionality
In this scenario, from the lotus client one can update the following attributes of a user account
- First Name
- Middle Name
- Last Name
- Org Unit
- Alt Name
- Alt Language
- Alt Org Unit
- Short Name
- Internet Address
This functionality can be achieved by using RenameNotesUser method of AdministrationProcess class of Notes java API for all the attributes except for Short Name and Internet Address. This is because the RenameNotesUser method can not take input for short name and internet address. The method signature is as below:
This method can not take Short Name and Internet Address attribute value for updating the user accounts. Whereas the Lotus Notes Domino client does update the Short Name and Internet Address when we use Rename User functionality directly. But there is condition here. It's like the Short Name and/or Internet Address attributes can not be updated in isolation. It can be updated along with one of the full name attributes i.e. First Name or Last Name or Middle Name
Lotus Notes connector uses RenameNotesUser method to update the allowed attributes by the method.
II) Editing a user information
Also all the attributes of a user account can be edited by updating the user document from Lotus Notes Domino client. This functionality can be achieved using ReplaceItemValue method of Document class of Notes APIs.
Though the person record/document is updated with this method, the changes are not reflected in various other repositories. That is because this API does not log a admin process whereas the RenameNotesUser method of AdministrationProcess class creates a log for admin process.
Lotus Notes connector uses this java method to update all the user attributes other than attributes covered in RenameNotesUser method. Thus this method is used to update the "Short Name" and/or "Internet Address" attributes of a user account by Lotus Connector. That is why the rename user behavior is different in the Lotus Notes connector.
2) Actions taken
We searched for any alternate APIs, available if any.
RenameWebUser method of AdministrationProcess looked to be possible solution. The method signature is as below:
We have written a test program to simulate the functionality. When we run this, the program does not throw any error and the method completes its execution i.e. it create a log for admin process. The admin process when executed, the server logs error in its console as below:
"Received the following error performing a Initiate Web User Rename in Domino Directory request on mnm/TCS (Path: C:\Lotus8.5\Domino\data\names.nsf). Cannot rename mnm/TCS because a certifier did not authorize the name change"
3) What we need from this forum :
What could be the possible reason for the above error?
Is there any other procedure to perform this functionality?
Which is that API that the Lotus Notes Domino client uses to achieve rename user functionality for Short Name and Internet Address attributes?
Appreciate any help/pointers . Many thanks in advance.