AnsweredAssumed Answered

How to connect PI Server by PI-SDK using window authentication

Question asked by Thanawat on May 2, 2018
Latest reply on May 2, 2018 by Thanawat

Hi all,

     I'm looking for the way How to connect PI Server by PI-SDK using window authentication.

Normally, i used the local pi user to connect piserver like code below.

srv.Open("UID=pidemo;PWD= ")

But, if i would like to connect by domain user like this.

srv.Open("UID=domianname\username;PWD=passwrd ")

Is ti possible to do that?

 

Thanks.

Outcomes