添加新用户并从活动目录C#获取用户 [英] Add new user and get users from active directory C#

查看:83
本文介绍了添加新用户并从活动目录C#获取用户的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在LDAP上验证用户以及想要使用LDAP在活动目录中添加新用户。



我正在使用C#。



请告知如何做这些......



提前致谢。



我尝试了什么:



我是活跃目录的新用户并打开ldap所以请做好...

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...

推荐答案

第二个google结果有一个来自Microsoft的示例。 使用Active Directory轻量级目录服务(Windows)创建用户 [< a href =https://msdn.microsoft.com/en-us/library/aa705903(v=vs.85).aspx\"target =_ blanktitle =New Window> ^ ]



为了将来参考,这是一个问题类型,可以通过询问谷歌轻松回答。你会先通过自己的研究来学习更多知识,然后你会更快地找到答案,而不是等待别人为你辩护。



如果你卡在一段特定的代码上,回过头来问一个新问题并发布相关代码,并清楚地知道你需要什么帮助。
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.


这篇关于添加新用户并从活动目录C#获取用户的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆