Skip to main content
 
developerWorks
AIX and UNIX
Information Mgmt
Lotus
New to Lotus
Products
How to buy
Downloads
Live demos
Technical library
Training
Support
Forums & community
Events
Rational
Tivoli
WebSphere
Java™ technology
Linux
Open source
SOA and Web services
Web development
XML
My developerWorks
About dW
Submit content
Feedback



developerWorks  >  Lotus  >  Forums & community  >  Enterprise Integration Forum

Enterprise Integration Forum

developerWorks

  

Sign in to participate PreviousPrevious NextNext


Shridhar Padala 9.Jun.10 10:04 PM a Web browser
Oracle Applications Connector Oracle Applications Connector - All Releases All 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:

public String renameNotesUser(String username, String lastname, String firstname, String middleinitial, String orgunit, String altcommonname, String altorgunit, String altlanguage, boolean renamewindowsuser) throws NotesException

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:

public String renameWebUser(String username, String newfullname, String newlastname, String newfirstname, String newmiddleinitial, String newshortname, String newinternetaddress) throws NotesException

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.








  Document options
Print this pagePrint this page

 Search this forum

  Forum views and search
Date (threaded)
Date (flat)
With excerpt
Author
Category
Platform
Release
Advanced search

 Sign In or Register
Sign in
Forgot your password?
Forgot your user name?
Create new registration

 RSS feedsRSS
All forum posts RSS
All main topics RSS
More Lotus RSS feeds

Resources

 Resources
Forum use and etiquette
Native Notes Access
Web site Feedback

Lotus Support

 Lotus Support
IBM Support Portal - Lotus software
Lotus Support documents
Lotus support by product
Lotus support downloads
Lotus support RSS feeds

Wikis

 Wikis
IBM Composite Applications
IBM Mashup Center
IBM Connections
IBM Docs
IBM Forms
IBM Mobile Connect
IBM Sametime
IBM SmartCloud for Social Business
IBM Web Experience Factory
Lotus Domino
Lotus Domino Designer
Lotus Expeditor
Lotus Foundations
Lotus iNotes
Lotus Instructor Community Courseware
Lotus Notes
Lotus Notes & Domino Application Development
Lotus Notes Traveler
Lotus Protector
Lotus Quickr
Lotus Symphony
IBM Web Content Manager
WebSphere Portal

Lotus Forums


 Lotus Forums
Notes/Domino 9.0
Notes/Domino 8.5 + Traveler
Notes/Domino XPages development forum
Notes/Domino 8
Notes/Domino 6 and 7
Notes/Domino 4 and 5
IBM Connections
IBM Forms
IBM Mobile Connect
IBM Sametime
IBM SmartCloud Notes
IBM SmartCloud Meetings
IBM Web Content Manager
Lotus Domino Document Manager
Lotus e-learning
Lotus Enterprise Integration
Lotus Expeditor
Lotus Protector
Lotus Quickr
Lotus SmartSuite
Lotus Symphony
Lotus Symphony Developer Toolkit Support
Lotus Workflow