Hi all,
This is some simple code to get your login name & email address from active directory. It took me ages to work out the code. But it uses alot less code than I used to use.
Set objSysInfo = CreateObject("ADSystemInfo")
Set adsUser = GetObject("LDAP://" & objSysInfo.username)...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.