Article
1655
Question
When the Notes driver renames a Notes user, is there any way I can pass an 'Alternate Name' to the Notes rename process?
Answer
Try using a subscriber policy to set the Notes destination attribute named [AltCommonName]. This is not a real attribute in the Notes database, but it is interpreted by the driver as a special command to set the Alternate Common Name for an AdminP user rename request. Setting this special attribute alone will not automatically trigger the NotesDriverShim to perform an AdminP user rename request. This attribute must be accompanied by a change in the FirstName, LastName, or MiddleInitial fields (as modify-attr elements), and/or an XML attribute of adminp-rename-user="true" on the modify element (in addition to appropriate cert-id and cert-password references, etc).
If the NotesDriverShim received a document similar to this:
<nds dtdversion="2.0" ndsversion="8.x">
<source>
<product version="3.0.0.2823">DirXML</product>
<contact>Novell, Inc.</contact>
</source>
<input>
<modify adminp-rename-user="true"
allow-adminp-support="true"
class-name="User"
drv-param-cert-id="mktg-cert-id-file"
drv-param-cert-pwd="mktg-cert-id-password"
event-id="SERVER-NDS#20051129190509#1#1"
qualified-src-dn="O=DirXML\OU=Notes\OU=mktg\CN=WileCoyote"
src-dn="\SERVER_TREE\DirXML\Notes\mktg\WileCoyote"
src-entry-id="33029"
tell-adminp-process="tell adminp process all"
timestamp="1133291109#1">
<association state="associated">E88C2874C38855A6872570C80068D8B3</association>
<modify-attr attr-name="[AltCommonName]">
<add-value>
<value type="string">Wiley2</value>
</add-value>
</modify-attr>
</modify>
</input>
</nds>
... then the driver would issue an AdminP rename request that attempted to rename 'WileCoyote' with an Alternate name of 'Wiley2'.
Special attributes interpreted by the NotesDriverShim when renaming a user are:
* [AltCommonName]
* [AltOrgUnit]
* [AltLanguage]
* [OrgUnit]
Related Articles
- Q&A: Rename Event for the IDM Notes Driver
- NotesDriverShim: Investigate - A required certifier entry was not found in the Name and Address Book
- Storing Multiple Attribute Changes in a Single Document, with the Notes Driver
- Using the Domino Admin Process with the Notes Driver Shim
- Using the Address Book Mode in Lotus Notes





0