I had to solve a pretty unique problem in an XPage app and I am posting my solution to it.
While I certainly do not think my solution is the only one or the best one, hopefully it will help someone else solve a similar problem, learn something about XPages and/or generate discussion on alternative solutions.
Learning XPages...it's a journey!
More information that might make the solution more understandable.
1) In this environment all directory information exists in Active Directory and is accessed via LDAP.
2) Domino Directory Assistance is used to authenticate against LDAP. All users authenticate using their ID# (XXXXXX) and when they are authenticated their user name is FirstName LastName-XXXXXX.