B.2 重新命名範例: 修改使用者的姓

本節顯示在 Identity Vault 中將姓從 Doe 變更為 Doerr 的事件範例。 如需相關資訊,請參閱Section 4.9, 移動/重新命名

B.2.1 由 Metadirectory 引擎產生的修改事件

<nds dtdversion="2.0" ndsversion="8.x"> <source> <product version="2.0.5.38 ">Identity Manager</product> <contact>Novell, Inc.</contact> </source> <input> <modify class-name="User" event-id="MYSERVER-NDS#20040603175500#1#3" qualified-src-dn="O=DirXML\OU=Notes\OU=Users\OU=sales\CN=John Doe" src-dn="\mytree\DirXML\Notes\Users\sales\John Doe" src-entry-id="38727" timestamp="1086291578#2"> <association state="associated">BB888BB0C35D13EC87256EA8006296CE</association> <modify-attr attr-name="Surname"> <remove-value> <value timestamp="1086285300#3" type="string">Doe</value> </remove-value> <add-value> <value timestamp="1086291578#2" type="string">Doerr</value> </add-value> </modify-attr> </modify> </input> </nds>

B.2.2 由 Notes 驅動程式 Shim 接收的修改事件

<nds dtdversion="2.0" ndsversion="8.x"> <source> <product version="2.0.5.38 ">Identity Manager</product> <contact>Novell, Inc.</contact> </source> <input> <modify class-name="Person" drv-param-cert-id="sales-cert-id-file"                 drv-param-cert-pwd="sales-cert-id-password"  event-id="MYSERVER-NDS#20040603175500#1#3" qualified-src-dn="O=DirXML\OU=Notes\OU=Users\OU=sales\CN=John Doe" src-dn="\mytree\DirXML\Notes\Users\sales\John Doe" src-entry-id="38727" tell-adminp-process="tell adminp process all"  timestamp="1086291578#2"> <association state="associated">BB888BB0C35D13EC87256EA8006296CE</association> <modify-attr attr-name="LastName"> <remove-value> <value timestamp="1086285300#3" type="string">Doe</value> </remove-value> <add-value> <value timestamp="1086291578#2" type="string">Doerr</value> </add-value> </modify-attr> </modify> </input> </nds>