Our ldap system is setup as user at domain.com. What variable can I use to always use the full username. $userID = user ????? = user at domain.com Regards Alan walters -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.7.3 - Release Date: 15/03/2005