Click or drag to resize
OSIsoft, LLC

PIAuthenticationOption Enumeration

Defines the authentication options used when making a connection to a PIServer.

Namespace:  OSIsoft.AF.PI
Assembly:  OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 2.10.6.195
Syntax
public enum PIAuthenticationOption
Members
  Member nameValueDescription
Windows1 Windows Integrated Security will be tried when making a connection to the PIServer.
Trust2 PI Data Archive trust mechanism will be tried when making a connection to the PIServer.
AllowExplicit100 An explicit login using PIUserAuthentication is allowed to be tried when making a connection to the PIServer.
Remarks
The PIServer.Connect Overload methods use the value of the AuthenticationOptions property to control the authentication options when attempting to make a connection to a PIServer.
Note Note
When connecting to a PIServer with an explicit login by prompting for credentials with the ConnectWithPrompt(IWin32Window) method or by specifying a NetworkCredential with the Connect(NetworkCredential, AFConnectionPreference, PIAuthenticationMode) method, the AuthenticationOptions order will be ignored. Even if Windows is not listed, the WindowsAuthentication will be attempted if the user selects it.
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, 2.5
See Also
Enabling Operational Intelligence