Not sure why this keeps being moved to the Security sub forum. it's not a security question!
Anyway, using the below code looks to have worked.
Using user As New DirectoryEntry("LDAP://" & distinguishedName)
Dim strMgrDN As String = GetADProperty(user...
I'm using the below code to pull a number of attributes from a users AD profile. I can get the user's manager's distinguishedName, but I want to display the displayName. How can i either pull the displayName for the manager from AD, using either another directory query, or by splitting the...