robrandon
asked on
Query AD for users Email Address
Is there a way to query AD for a single users email address if I know their Logon Name?
I use something like this in a script, but I'd like to know if I can just get the info for a single user:
Set objDomain = GetObject("WinNT://mydomai nname.com, domain")
objDomain.Filter = Array("User")
For Each objUser In objDomain
......
I use something like this in a script, but I'd like to know if I can just get the info for a single user:
Set objDomain = GetObject("WinNT://mydomai
objDomain.Filter = Array("User")
For Each objUser In objDomain
......
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER