• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 373
  • Last Modified:

VB.Net Active Directory Username From user email

Hi to all,

I have a little application where I need to obtain a user’s active directory log on name where I only have his first name, last name and email address.

Can someone help me with the code to obtain that information?

Basically I need to loop through about 4000 records to load the active directory user name for each user based on the information listed above.

Thanks
0
ALawrence007
Asked:
ALawrence007
  • 2
  • 2
1 Solution
 
David Johnson, CD, MVPOwnerCommented:
curious as to why you need to search AD using information that you could have recieved from an email from that person. have them email you their samaccountname
0
 
ALawrence007Author Commented:
When I can automate loading roughly 4000 records into SQL I would prefer that.
0
 
ALawrence007Author Commented:
Worked Great!

Thanks CodeCruiser
0
 
CodeCruiserCommented:
Glad to help :-)
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now