Active Directory (ADSI): substring search problem
Database
1
Posts
1
Posters
0
Views
1
Watching
-
hello forum, Not sure if this is the most suitable place in codeproject to put a thread related to Active Directory... sorry, if does not. I have got a problem while searching directory through ADSI. I want to search those organizational Units which contains a specific substring in its distinguishedName attribute. The filter expression is as follow: (&(objectClass=organizationalUnit)(distinguishedName=*mysubstring*)) where mysubstring is the specific substring. The problem is I get always nothing. Could u give me any idea what is the problem and how to solve it? thanks in advance!