In a intranet application accesed via web a user can authenticate from the names.nsf in the Domino server (the application server) or from an external database accesed via LDAP. If the user is authenticated with the names.nsf we get some info from the person document. I need also to get some info from the "person document" in the external database. How can I do that? Should I use a Java agent and JNDI? Is there any other way (lotuscript for example)? How can I distinguish a user authenticated in Domino from one in the LDAP server?