Determining AF Contact from windows user

Discussion created by jason.maxwell on Nov 1, 2012
Latest reply on Nov 1, 2012 by pcombellick

I'm trying to determine the best method for retrieving the AFContact for a user using a specific application, in my case a web application.  


As an example, when a user launches PI System Explorer, the tool knows what user is using the application and knows the specific AFContact as well (MyPI provides an illustration of this functionality).  In my case I have a web application that is using Windows Integrated Security and as such I can determine the user logged onto the page by looking at Request.ServerVariables["AUTH_USER"].  What is the best method of linking this AD Account user back to their AFContact object?