Welcome to Dream.In.Code
Become a VB.NET Expert!

Join 149,934 VB.NET Programmers for FREE! Get instant access to thousands of VB.NET experts, tutorials, code snippets, and more! There are 1,645 people online right now. Registration is fast and FREE... Join Now!




Access ActiveDirectory From VisualBasic.Net

 
Reply to this topicStart new topic

Access ActiveDirectory From VisualBasic.Net, Accessing a list of users from a group in VisualBasic.Net

cajina
24 Jan, 2008 - 02:13 PM
Post #1

New D.I.C Head
*

Joined: 24 Jan, 2008
Posts: 1

search.Filter = String.Format("(&(SAMAccountName={0})(givenName={1})(sn={2}))", ExtractUserName(loginName), givenName, surName)

Can I get something like this to get a group name or to get a list of users of a specific group.

This post has been edited by cajina: 24 Jan, 2008 - 02:15 PM
User is offlineProfile CardPM
+Quote Post

PsychoCoder
RE: Access ActiveDirectory From VisualBasic.Net
24 Jan, 2008 - 05:40 PM
Post #2

using DIC.Core;
Group Icon

Joined: 26 Jul, 2007
Posts: 9,483



Thanked: 161 times
Dream Kudos: 9075
Expert In: VB, VB.Net, C#, SQL, ASP, ASP.Net, Web Development, HTML, CSS, Win32 API, Javascript, mySQL, J#, Boo.Net

My Contributions
Not too long ago I wrote a tutorial on Working with the Active Directory in VB.Net. It's a pretty good read, and it should answer your questions regarding the Active Directory and how to access it smile.gif
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 1/8/09 03:39PM

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter

Live VB.NET Help!

VB.NET Tutorials

Reference Sheets

VB.NET Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month