Click here to Skip to main content
12,768,119 members (44,512 online)
Rate this:
Please Sign up or sign in to vote.
See more: VB ASP.NET
hello everyone,

what are the pre-requisite to connect a " website using vb" with ldap?

Some Details :

domain name: esnlab.local, IP :

Users :Total ten(10) users are there like : abhijit,amit,bitan,chinmoy,lalit,nivesh,vinod,vikash1,poulomi,santanu.

Password: "admin@123" for all

what will be the code please suggest me ?

Is there anyone who will provide me the exact code.....If there any more details required then please ask me or post it here. But please help regarding this matter. I am eager to see the solutions.......plz...plz...
Posted 26-Nov-12 3:14am
Updated 4-Dec-12 19:51pm
ryanb31 26-Nov-12 8:45am
You'll want to look into the DirectoryServices namespace.
Abhijit Dan 26-Nov-12 10:42am
hey Tim,

Could you please provide me the code by which I can connect my website with Active Directory using LDAP.

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

You will need to do some work on this, since most examples are in C# but they convert quite easily to VB.NET using a converter. Here are a couple I found:[^]
Howto: (Almost) Everything In Active Directory via C#[^]

These will get you started working with LDAP in your code. They both show methods for accessing, reading, and updating Active Directory using LDAP.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

    Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170217.1 | Last Updated 5 Dec 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100