Quantcast
Channel: .NET Framework Class Libraries forum
Viewing all articles
Browse latest Browse all 8156

PrincipalSearcher query filter escape characters

$
0
0

How can we escape characters like "*" in a PrincipalSearcher.QueryFilter. We have a few groups having names start with "*", however trying to escape this with "\2a" does not provide any results.

The search is made as principalSearcher.QueryFilter.Name = string.Format("{0}*", stringText);

Thanks,


Viewing all articles
Browse latest Browse all 8156

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>