Adarsh

Adarsh

  • 2.1k
  • 1
  • 819

WCF Interceptors for getting Logged on UserName

Jun 23 2014 11:51 PM
 
Hi,
   I have an intranet web application with
   Tier 3 - Web application(MVC)
   Tier2 - Application Layer(WCF services, Business Logic, Repository and DAL)
   Tier1 - DB
 
 I have to pass the logged on userId from presentation layer to Application layer and eventually to DB.
 Can you please provide some insight on how this could be performed using WCF Interceptors.
 What should be intercepted where and how? A little guidance would help me to proceed in right direction.
 
Thanks and Regards,
Adarsh