You must identify the user on the intranet site, the goal is the Windows username. This will be added to the parameters going to SQL Server at the end.
I can get HttpContext.Current.Request.ServerVariables("LOCAL_ADDR") 192.168.112.81
We have a mixed bag of addresses here, in which 33% are fixed, and the rest are allocated.
Is it possible to identify the user assigned to IP in AD? If you have a link or an example?
TIA.
source share