Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > bind names of users in AD group to dropdownlist?

Reply
Thread Tools

bind names of users in AD group to dropdownlist?

 
 
Martin
Guest
Posts: n/a
 
      06-06-2004
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


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
BMC Configuration Management - Users Group, formerly Marimba Users Group. chrisandnat@gmail.com Java 0 10-01-2007 06:36 PM
Active X Component can run Power users group but not in users grou Wilmer Hernandez ASP General 4 08-20-2007 08:36 PM
confused by boost::bind & boost::lambda::bind XHengDF@gmail.com C++ 0 05-29-2007 04:37 AM
Bind to MembershipUserCollection Names? xenophon ASP .Net 1 02-28-2006 07:28 PM
Using a data-bind dropdownlist to populate another data-bind dropdownlist mr2_93 ASP .Net 1 10-02-2005 05:07 PM



Advertisments