Retrieve Full DN (AdsPath) given Username

C

Cameron Frasnelly

Does anyone know how to get the full Distinguished Name from the Useraname
using vb.net??? All the examples show how to manipulate user objects but
they have the LDAP path hardcoded??? I need to know how to fetch the path
given the user name... thanks!!!

Cameron
 
T

Tom Spink

There isn't an object stored with the username, or the even just the path,
so I guess you'll have to search the directory for the username in order to
get the fully qualified name.

--
Happy to help,
-- Tom Spink
([email protected])

http://dotnetx.betasafe.com >> On The Mend

Please respond to the newsgroup,
so all can benefit.


One Day,
 
C

Cameron Frasnelly

How do I do that? Thanks!
Tom Spink said:
There isn't an object stored with the username, or the even just the path,
so I guess you'll have to search the directory for the username in order to
get the fully qualified name.

--
Happy to help,
-- Tom Spink
([email protected])

http://dotnetx.betasafe.com >> On The Mend

Please respond to the newsgroup,
so all can benefit.


One Day,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top