views:

134

answers:

0

I would like my BDC ReadList()-operation to fetch objects based on email from a user claim. I tried using IClaimsPrincipal in a webpart, with no problem, but I can't get it to work in BDC model.

Basically I would like to do something like this:

ReadList() { 1. Get Claims object 2. Get email from claims object 3. Ask query with that email 4. return query result }

Any thoughts/ideas on this matter would be greatly appriciated.