Click or drag to resize
OSIsoft, LLC

PIAuthenticationMode Enumeration

The authentication mode to use when making an explicit connection to a PIServer.

Namespace:  OSIsoft.AF.PI
Assembly:  OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 2.10.6.195
Syntax
public enum PIAuthenticationMode
Members
  Member nameValueDescription
WindowsAuthentication0 Specifies that Windows Authentication should be used when making the connection.
PIUserAuthentication1 Specifies that PI User Authentication should be used when making the connection.
Remarks
This enumeration is used to specify the authentication mode to use when making an explicit connection to a PIServer. When using WindowsAuthentication mode to connect to a PIServer, the authentication only uses identity mappings and does not utilize trusts defined with Windows credentials or any other trusts that may be configured.
Note Note
When prompting for credentials, the PIUserAuthentication mode is only allowed when the AllowExplicit option is set in the AuthenticationOptions setting.
Version Information

AFSDK

Supported in: 2.10.5, 2.10, 2.9.5, 2.9, 2.8.5, 2.8, 2.7.5, 2.7, 2.6
See Also
Enabling Operational Intelligence