So we have our web app up and going with entity framework. What we d like to do is impersonate the current user when we re accessing the DB. We re not interested in setting impersonation up in our web config.
Ideally using something like this: Link when we re about to access data.
UPDATED: I m looking for a way to abstract this code out so I don t have to have it in every repository function call.