Explicit Connections - Login

 

An explicit login is used when an application needs to connect as a particular user or wants to provide the application user with this option.  In any version of the PI-SDK, an application can perform an explicit login to a server by calling Server.Open (IServerConnect.Open_s is now available with PI-SDK 1.3.6 and higher) and providing a connection string which includes a username parameter (“UID=nnn”).  A password may also be provided in the connection string (“PWD=nnn”).  The PI-SDK Controls and Dialogs “Connections” object provides higher level functions that wrap this functionality with the Login method and menu options on the Connections dialog. 

 

An explicit login is typically either the only authentication option that is tried or the last of a series of authentication methods invoked by an application as typically user interaction (entering the password) is required.

 

 

Enabling Operational Intelligence