Discover ldap query userprincipalname, include the articles, news, trends, analysis and practical advice about ldap query userprincipalname on alibabacloud.com
Active
First, let's take a look at what active Directory is. Without my description, look at the following URLs, or in the. NET Help document, based on the Active Directory keyword, you'll understand everything.
Next, let's take a look at the
Http://www.pc123.org/html/net/asp_net/200806/16_3101.html
First, let's take a look at what is active directory. I don't need to describe it. I can refer to the following URL or search for the Active Directory keyword in the. NET Help document.
1. Active Directory (AD)
Active directory is a directory service for Windows Server.
It stores information about the various objects on the network and makes that information easy for administrators and users to find and use.
The Active Directory
Blog Address: http://www.moonxy.comFirst, prefaceLet's briefly review the basic concepts of the AD domain and LDAP Directory Access Protocol in the previous blog post.AD (Active Directory) Active Directory, dynamically establishes a database or
Next, configure the Active Directory domain controller for Windows Server 2008 r2
Use C # to read information for the ad domain in combination with common requirements ^_^!
Directory
Sample Preparation
Knowledge
Example of
ArticleDirectory
User Name
First Query
User's groups
Group-s users
All users
Getting started
To start querying Active Directory from your C # code, you simply add a reference toSystem. directoryservices. dllIn your project
Create
Some time ago to write a program, but not perfect, can not determine whether there is the user, now complement the lookup function.Code deficiencies, hope feel free!The complete code is as follows:
' Program Purpose: Create Exchange 2000
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.