Click here to Skip to main content
15,889,216 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I want to authenticate a user on LDAP as well as want to add a new user in active directory using LDAP.

I am using C#.

please advise how to do these...

Thanks in advance.

What I have tried:

I am new to active directory and open ldap so please do the needful...
Posted
Updated 20-May-16 1:43am
v2
Comments
F-ES Sitecore 20-May-16 7:27am    
Google for "c# add user active directory" and I'm sure you'll find lots of samples.

1 solution

Second google result has an example from Microsoft. Creating Users with Active Directory Lightweight Directory Services (Windows)[^]

For future reference, this is the type of question that is easily answered by asking google. You'll learn a lot more by doing research yourself first and you'll find the answer faster rather than waiting for someone else to google it for you.

If you get stuck on a specific piece of the code, come back and ask a new question and post the relevant code and be very clear as to what you need help with.
 
Share this answer
 

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900