Archives For VB.NET – Active Directory

Here’s an extremely simple application that will query Active Directory for a user’s full name when given their username.

Continue Reading…

Here is a control I made that shows Active Directory objects. It inherits from the TreeView control and can be used to show AD objects for user selection in your program. You basically just pass it an LDAP path to the location in your Active Directory that you want it to use as the ‘root’ of the object tree and it does the rest.

Continue Reading…

The code below will search an Active Directory container/OU for a specified group and will then loop through the members of that group and add each user’s name to a listbox:

Continue Reading…