D.1 Sample for Adding a User

This section shows a sample of the events when creating user John Doe in the Identity Vault.

D.1.1 Add Event Produced by the Metadirectory Engine

<nds dtdversion="2.0" ndsversion="8.x">
  <source>
    <product version="2.0.5.38 ">DirXML</product>
    <contact>Novell, Inc.</contact>
  </source>
  <input>
    <add  class-name="User" 
            event-id="MYSERVER-NDS#20040603175534#1#1" 
            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">
      <association state="pending"></association>
      <add-attr attr-name="CN">
        <value naming="true" timestamp="1086285300#20" type="string">John Doe</value>
      </add-attr>
      <add-attr attr-name="Surname">
        <value timestamp="1086285300#3" type="string">Doe</value>
      </add-attr>
      <add-attr attr-name="Given Name">
        <value timestamp="1086285334#1" type="string">John</value>
      </add-attr>
    </add>
  </input>
</nds>

D.1.2 Add Event Received by the Notes Driver Shim

<nds dtdversion="2.0" ndsversion="8.x">
  <source>
    <product version="2.0.5.38">Identity Manager</product>
    <contact>Novell, Inc.</contact>
  </source>
  <input>
    <add    expire-term="5" certify-user="Yes" 
            class-name="Person" 
            create-mail="Yes" 
            dest-dn="cn=John Doe/ou=sales/o=dirxml" 
            drv-param-cert-id="sales-cert-id-file"   
            drv-param-cert-pwd="sales-cert-id-password"
            enforce-unique-short-name="No" 
            event-id="MYSERVER-NDS#20040603175534#1#1" 
 internet-password-force-change="Yes"  mail-acl-level="MANAGER"                                                                                                                                  mail-acl-manager-name="CN=Notes Driver/O=dirxml"  mail-file-quota="120000"             mail-quota-warning-threshold="100000"   notes-password-change-interval="100"             notes-password-check-setting="PWD_CHK_CHECKPASSWORD" notes-password-grace-period="5" notes-policy-name="/EmployeePolicy" 
            qualified-src-dn="O=DirXML\OU=Notes\OU=Users\OU=sales\CN=John Doe" 
           roaming-cleanup-period="90" roaming-cleanup-setting="REG_ROAMING_ CLEANUP_EVERY_NDAYS"  roaming-server="cn=myserver/o=dirxml"             roaming-subdir="Roaming\JohnDoe" roaming-user="Yes" 
            src-dn="\mytree\DirXML\Notes\Users\sales\John Doe" 
            src-entry-id="38727" 
            sync-internet-password="Yes">
      <add-attr attr-name="FullName">
        <value naming="true" timestamp="1086285300#20" type="string">John Doe</value>
      </add-attr>
      <add-attr attr-name="LastName">
        <value timestamp="1086285300#3" type="string">Doe</value>
      </add-attr>
      <add-attr attr-name="FirstName">
        <value timestamp="1086285334#1" type="string">John</value>
      </add-attr>
      <add-attr attr-name="InternetAddress">
        <value>John Doe@dirxml.com</value>
      </add-attr>
    </add>
  </input>
</nds>