Hi I am u开发者_如何转开发sing c# and LDAP protocol. Is there anyway of finding sub-departments? In c# E.g: Department: Finance, Sub dept: Procurement , Sub dept: Clerks
I am doing this in c#
The answer in this post should do the trick for you -> How can I figure out my LDAP connection string?
Using the example from the link with the OU's provided in your question should get you following LDAP string
LDAP://dc1.corp.domain.com/OU=Clerks,OU=Procurement,OU=Finance,DC=corp,DC=domain,DC=com
精彩评论