Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / July 2007

Tip: Looking for answers? Try searching our database.

Authentication using Active Directory

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
GaryDean - 31 Jul 2007 20:27 GMT
Are there any actual examples on how to authenticate against Active
Directory using DirectoryServices?  I've combed the docs but haven't found
much in the way of examples.

I found....
Imports System.DirectoryServices
Dim myDirectoryEntry As DirectoryEntry
myDirectoryEntry = New DirectoryEntry("LDAP://...")

but that's about it.

Signature

Regards,
Gary Blakely

Jim in Arizona - 31 Jul 2007 21:08 GMT
> Are there any actual examples on how to authenticate against Active
> Directory using DirectoryServices?  I've combed the docs but haven't found
[quoted text clipped - 6 lines]
>
> but that's about it.

At one time, I had planned on doing some stuff with AD more than just
extracting the user's logon from the servervariables object. I looked
around and didn't find much either but here's the links to what little I
did find on the subject. Goodluck.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/sds/sds/portal.asp
http://www.codeproject.com/vb/net/ActiveDirectory_Group_VB.asp
http://www.codeproject.com/aspnet/adsi1.asp
http://www.codeproject.com/aspnet/adsi2.asp
http://www.codeproject.com/cs/system/everythingInAD.asp
Jim in Arizona - 31 Jul 2007 21:11 GMT
> Are there any actual examples on how to authenticate against Active
> Directory using DirectoryServices?  I've combed the docs but haven't found
[quoted text clipped - 6 lines]
>
> but that's about it.

OH yea. I forgot to mention another option. If you go to Google code
search and type in System.DirectoryServices you'll get some code samples
that may also help you.

http://www.google.com/codesearch?q=System.DirectoryServices&hl=en&btnG=Search+Code

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.