PI SDK - Connect to PI Server via Impersonation

Discussion created by mrai on Mar 29, 2010
Latest reply on Mar 31, 2010 by hanyong



We are developing an ASP.NET web application that users could use to query PI data via PI SDK. We do the following to get the PI Server object:

PISDKClass piSDK = new PISDKClass();
Server server = piSDK.Servers.DefaultServer;
PIPoint point = server.PIPoints["PITagName"];

Once we have the "server" information, we use this to get the PI Point data


Question: We want to make sure that we use windows authentication when a user connects to PI via the web application. How can we enforce using impersonation via PI SDK ?