I've been trying to implement .NET assembly connector with security trimmer in SharePoint 2010. So far I've managed
to create a single wsp-package that implements a crawlable content source and ISecurityTrimmer2.CheckAccess-method
that gets called when objects from this external content source are being shown in search results (implemented as described
in http://msdn.microsoft.com/en-us/library/ee819923.aspx). Now I'm however facing a problem that the items in documentCrawlUrls
given in IList<String>-parameter of ISecurityTrimmer2.CheckAccess aren't of the same type as the identifiers passed e.g.
to ReadItem-method of the BDC model. Instead, they are something like the following:
when the identifier given to ReadItem is e.g. something like:
So the question is, how can I convert the identifier given to CheckAccess into the same format that is used in the BDC model?
View Complete Post