CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Threaded View

  1. #1
    Join Date
    May 2005
    Posts
    5

    ADSI VC++/ geeting the DN of a User

    Hi,
    I wrote a C++ program to get the DN of a user in ActiveDirectory. The program is fetching the object successfully and identifying the attribute "distinguishedname" correctly. But when I'm trying to print the value of "distinguishedname" it is printing <null>. I'm not sure whether this is a problem with my code or with the AD setup I'm using. I'm here posting the code. Please check that and tell if there is something wrong with the code.
    I have attached the source code I'm using.

    please reply soon.

    regards,
    rajesh.
    Attached Files Attached Files

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured