bind names of users in AD group to dropdownlist?

Discussion in 'ASP .Net' started by Martin, Jun 6, 2004.

  1. Martin

    Martin Guest

    Hi,

    I want to have a dropdownlist display the names of users in an Active
    Directory group.

    So far I have this:
    a System.DirectoryServices.DirectoryEntry component,
    path=WinNT://domainname/machinename/Users, AuthenticationType none,
    UsePropteryCache true
    dropList.DataSource=dirEntry.Children;
    dropList.DataTextField="Name";
    dropList.DataBind();

    The dropdown list box is empty!

    ??

    Thanks
    Martin
    Martin, Jun 6, 2004
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. mr2_93
    Replies:
    1
    Views:
    3,593
    mr2_93
    Oct 2, 2005
  2. xenophon
    Replies:
    1
    Views:
    3,342
    =?Utf-8?B?YnJpYW5zW01DU0Rd?=
    Feb 28, 2006
  3. Replies:
    0
    Views:
    590
  4. Replies:
    0
    Views:
    525
  5. Wilmer Hernandez
    Replies:
    4
    Views:
    459
    Wilmer Hernandez
    Aug 20, 2007
Loading...

Share This Page