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 SkipVought 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 and Update

Status
Not open for further replies.

webzest

MIS
Mar 3, 2011
1
0
0
US
Hi,

I would like to query AD for several attribute values, such as AdminDisplayName, ScriptPath, and HomeDrive, where the SamAccountName is equal to a specific variable. I would like to then save the results to specific C++ Variables that I would like to use to compare to an existing database. Based on the comparison results, I would like to update the AD Attribute values accordingly.

Would someone please point me to some sample code that I can use to start the process?

Thank you in advance for your assistance.

Regards,

Johnny
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top