When you get the field it's a SID. You have to then use a routine to convert it to a domain and user name.
Ed Crowley MCSE+Internet MVP kcCC+I Tech Consultant Compaq Computer Corporation Protecting the world from PSTs and Bricked Backups! -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Casey Taguchi Sent: Friday, February 15, 2002 11:26 AM To: Exchange Discussions Subject: Using LDAP to extract the Primary Windows NT Account To All, Does anyone out there know how to extract the Primary Windows NT Account from Exchange 5.5 using the LDAP protocol. We are trying to automate a process to extract the NT account associated with each mailbox instead of manually exporting out to a .csv file. For some reason or another we are not able to extract that field. But can do it through the manual method of exporting to a .csv. Any help would be appreciated. Casey _________________________________________________________________ List posting FAQ: http://www.swinc.com/resource/exch_faq.htm Archives: http://www.swynk.com/sitesearch/search.asp To unsubscribe: mailto:[EMAIL PROTECTED] Exchange List admin: [EMAIL PROTECTED] _________________________________________________________________ List posting FAQ: http://www.swinc.com/resource/exch_faq.htm Archives: http://www.swynk.com/sitesearch/search.asp To unsubscribe: mailto:[EMAIL PROTECTED] Exchange List admin: [EMAIL PROTECTED]