Helpful Information
 
 
Category: .Net Development
trying to modify active directory user objects programatically

Hello, I'm trying to modify 2 attributes of users in a test OU in our company active directory. Let's call the main AD MyCompany.com and the test OU ClientTest.

I'm trying to figure out how to do this in vb.net code. I think that I should be able to use DirectoryEntry and/or DirectorySearcher to do so. Also, only I have security to the test OU (do I need to build this into the LDAP string somehow?). Let's call the l/p MyLogin/MyPass

Any help would be greatly appreciated!










privacy (GDPR)