Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Active Directory Query

Status
Not open for further replies.

HoustonGuitarPro

Technical User
Feb 2, 2009
8
US
Since I am very knew to VB .NET I thought I would ask some of you guys if this can be done, and if so if anyone can send me in the right direction to see some code to be able to do this.

I need to be able to query active directory for a computer account and retreive it's membership. Then I have to query AD again to retreive a user account and get the users memberships.

I then have to see if any of the groups between the computer account and user account are the same. If so return a result of TRUE.

I then I have to query a database (SQL) to retrieve information about the computer provided the result is true and update the database with who queried it.

I am sure this is possible, I just do not know how to go about it to proceed.

Any links or suggestions would be great!

Thanks..
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top