I have a DirectoryEntry object representing a user. From the DirectoryEntry.Properties collection, I retrieve the "manager" property, which will give me the Distinguished Name ("DN") value for the user manager.
Is it possible to get a DirectoryEntry object for a manager from only these two objects? If so, how?
I am assuming something like DirectoryEntry.GetEntryFromDN(dnManager); but I can not find a similar call.
Just to clarify, DirectoryEntry and DN are the only pieces of information that I have. I cannot create a new DirectoryEntry , because then I would have to use the default directory and credentials or have the directory name / port, username and password.
palswim
source share