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++ or VB Script Variables that I can then use to compare with an existing database data set for each user of interest. Then, based on the comparison result for each user, I will update the User's AD Attribute values accordingly.
Would someone please point me to some sample code that I can use to start the process?
It is okay to use different sources for each section; for example, there can be a link to the read section; then another link that points to the update section, etc... I can combine them together to create a single process to perform the required task.
Thank you in advance for your assistance.
Regards,
Johnny