To get user distingushed name using Default Naming Context..

  • Thread starter Thread starter masani paresh
  • Start date Start date
M

masani paresh

Hello Friends,

If anyone know hot to get DN for user using DefaultNamingContext then please
let me know. I got the naming context as follow but i dont know what to do
after. please help me.

root = group = new DirectoryEntry("LDAP://RootDSE");
string namingContext = (string)root.Properties["defaultNamingContext"].Value;
if (namingContext == null)
namingContext =
(string)root.Properties["namingContext"].Value;

Thanks in advance,
Paresh
 
Hi Paresh. Please repost your message in an Active Directory programming
forum - this one is for Outlook programming.
 
Hi,
I check but i didnt get the AD forum. Could you please let me know where is
it?

Eric Legault said:
Hi Paresh. Please repost your message in an Active Directory programming
forum - this one is for Outlook programming.

--
Eric Legault - Outlook MVP, MCDBA, MCTS (SharePoint programming, etc.)
Try Picture Attachments Wizard for Outlook:
http://www.collaborativeinnovations.ca
Blog: http://blogs.officezealot.com/legault/


masani paresh said:
Hello Friends,

If anyone know hot to get DN for user using DefaultNamingContext then please
let me know. I got the naming context as follow but i dont know what to do
after. please help me.

root = group = new DirectoryEntry("LDAP://RootDSE");
string namingContext = (string)root.Properties["defaultNamingContext"].Value;
if (namingContext == null)
namingContext =
(string)root.Properties["namingContext"].Value;

Thanks in advance,
Paresh
 
How about

microsoft.public.windows.server.active_directory

?


HTH,
JP

Hi,
I check but i didnt get the AD forum. Could you please let me know where is
it?

:


Hi Paresh.  Please repost your message in an Active Directory programming
forum - this one is for Outlook programming.
--
Eric Legault - Outlook MVP, MCDBA, MCTS (SharePoint programming, etc.)
Try Picture Attachments Wizard for Outlook:
http://www.collaborativeinnovations.ca
Blog:http://blogs.officezealot.com/legault/
Hello Friends,
If anyone know hot to get DN for user using DefaultNamingContext then please
let me know. I got the naming context as follow but i dont know what to do
after. please help me.
 root = group = new DirectoryEntry("LDAP://RootDSE");
 string namingContext = (string)root.Properties["defaultNamingContext"].Value;
            if (namingContext == null)
                namingContext =
(string)root.Properties["namingContext"].Value;
Thanks in advance,
Paresh- Hide quoted text -

- Show quoted text -
 
Back
Top