principalsearcher Questions
2
Solved
I do the extension of the UserPrincipal class to retrieve some missing properties that i need:
[DirectoryObjectClass("user")]
[DirectoryRdnPrefix("CN")]
class UserPrincipalExt : UserPrincipal
{
p...
Lorianne asked 17/7, 2014 at 8:4
2
Can't find anything in the MSDN documentation on this.
I.e. is it enough to do, say:
using(PrincipalSearcher searcher = ...)
{
foreach (var principal in searcher.FindAll())
{
... do something ...
Mitchel asked 23/5, 2012 at 7:16
1
© 2022 - 2024 — McMap. All rights reserved.