1
Vote

Suggestion: Making fields like pwdLastSet usable

description

I needed to be able to filter based on pwdLastSet in a query using LINQ to AD and using the SearchResult to get values instead of a DirectoryEntry made this possible. Attached is my patch for LINQ to AD that modifies DirectoryQuery.GetResults and DirectoryQuery.AssignResultProperty slightly to use the SearchResult object directly for most property lookups to allow automatic marshalling.

file attachments

comments

bdesmet wrote Jul 31, 2008 at 12:29 PM

Thanks for your feedback. This will be adressed in the 1.0.1 Refresh Release.

Thanks,
-Bart