简体   繁体   中英

ASP.NET LDAP Query filter

I'm new to LDAP. Here's my question.

I fetch the person info with the string

uid=33650, ou=people,o=sea.com,o=sds

The items are very simple, uid , name , title , etc. but there's an item manager which is also an record in the LDAP directory, with format

manager = uid=81264, ou=people,o=sea.com,o=sds

Now I want to fetch the list of persons who report to a given manager.

How to fetch in C#?

In order to search an LDAP directory using C#.NET, look here: http://msdn.microsoft.com/en-us/library/bb332056.aspx#sdspintro_topic3_lpadconn

In order to learn to construct custom ldap filters to perform your query, look here: http://msdn.microsoft.com/en-us/library/ms675768.aspx

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM